From: havoc Date: Fri, 3 Jun 2011 06:40:06 +0000 (+0000) Subject: check OpenGL 2.0 version again, rather than supporting fragment shaders X-Git-Tag: xonotic-v0.6.0~163^2~370 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d3179fa702631ed2c9b45ab21983365dce14def6;p=xonotic%2Fdarkplaces.git check OpenGL 2.0 version again, rather than supporting fragment shaders 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 --- diff --git a/vid_shared.c b/vid_shared.c index ada1a260..f59a7599 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -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