From 39bd217f6ccd6c440916f6fad5238b47319c0a22 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 20 Feb 2015 00:23:44 +0000 Subject: [PATCH] gl_rmisc.c: allow glsl gamma to be used in combination with -novbo git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1170 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/gl_rmisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Quake/gl_rmisc.c b/Quake/gl_rmisc.c index 48034a05..e197427f 100644 --- a/Quake/gl_rmisc.c +++ b/Quake/gl_rmisc.c @@ -396,7 +396,7 @@ GLuint GL_CreateProgram (const GLchar *vertSource, const GLchar *fragSource, int int i; GLuint program, vertShader, fragShader; - if (!GLAlias_SupportsShaders()) + if (!gl_glsl_able) return 0; vertShader = GL_CreateShaderFunc (GL_VERTEX_SHADER); @@ -459,7 +459,7 @@ void R_DeleteShaders (void) { int i; - if (!GLAlias_SupportsShaders()) + if (!gl_glsl_able) return; for (i = 0; i < gl_num_programs; i++)