]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
check GL_ARB_fragment_shader
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 3 May 2011 07:57:10 +0000 (07:57 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 3 May 2011 13:49:29 +0000 (15:49 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11094 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d8742b10c4cda0a0f31a6a0a2325d7bcab0d791b

vid_shared.c

index f777198de4f93f054a8dd7693075c9a46c34adac..a69f3be5936888f61967f9e6ef35cf72f0e2068e 100644 (file)
@@ -838,7 +838,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("glshaders", gl20shaderfuncs, "-noshaders", true);
+       vid.support.gl20shaders = GL_CheckExtension("GL_ARB_fragment_shader", gl20shaderfuncs, "-noshaders", true);
 
        CHECKGLERROR