]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
check OpenGL 2.0 version again, rather than supporting fragment shaders
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Jun 2011 06:40:06 +0000 (06:40 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 3 Jun 2011 07:23:37 +0000 (09:23 +0200)
on 1.4, as it's just not performant on these chips and sometimes buggy

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11176 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d3179fa702631ed2c9b45ab21983365dce14def6

vid_shared.c

index ada1a2606baa823f7b577698cae154696a311199..f59a7599a0c5ab574300cd92d5c120662ee7eb4d 100644 (file)
@@ -955,7 +955,7 @@ void VID_CheckExtensions(void)
 {
        if (!GL_CheckExtension("glbase", opengl110funcs, NULL, false))
                Sys_Error("OpenGL 1.1.0 functions not found");
-       vid.support.gl20shaders = GL_CheckExtension("GL_ARB_fragment_shader", gl20shaderfuncs, "-noshaders", true);
+       vid.support.gl20shaders = GL_CheckExtension("2.0", gl20shaderfuncs, "-noshaders", true);
 
        CHECKGLERROR