From d3179fa702631ed2c9b45ab21983365dce14def6 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 3 Jun 2011 06:40:06 +0000 Subject: [PATCH] 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 --- vid_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2