From: havoc Date: Tue, 3 May 2011 07:57:10 +0000 (+0000) Subject: check GL_ARB_fragment_shader X-Git-Tag: xonotic-v0.6.0~163^2~452 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d8742b10c4cda0a0f31a6a0a2325d7bcab0d791b;p=xonotic%2Fdarkplaces.git check GL_ARB_fragment_shader git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11094 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_shared.c b/vid_shared.c index f777198d..a69f3be5 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -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