From: havoc Date: Thu, 8 Nov 2007 21:47:50 +0000 (+0000) Subject: hush a bogus warning on startup on pre-OpenGL 2.0 drivers X-Git-Tag: xonotic-v0.1.0preview~2817 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=54df1073c4387a58e99192b19b501e661386ba66;p=xonotic%2Fdarkplaces.git hush a bogus warning on startup on pre-OpenGL 2.0 drivers git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7664 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_shared.c b/vid_shared.c index c96fd0c2..539ff146 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -788,7 +788,7 @@ void VID_CheckExtensions(void) gl_support_ext_blend_subtract = GL_CheckExtension("GL_EXT_blend_subtract", blendequationfuncs, "-noblendsubtract", false); // COMMANDLINEOPTION: GL: -noseparatestencil disables use of OpenGL2.0 glStencilOpSeparate and GL_ATI_separate_stencil extensions (which accelerate shadow rendering) - if (!(gl_support_separatestencil = GL_CheckExtension("glStencilOpSeparate", gl2separatestencilfuncs, "-noseparatestencil", false))) + if (!(gl_support_separatestencil = GL_CheckExtension("glStencilOpSeparate", gl2separatestencilfuncs, "-noseparatestencil", true))) gl_support_separatestencil = GL_CheckExtension("GL_ATI_separate_stencil", atiseparatestencilfuncs, "-noseparatestencil", false); // COMMANDLINEOPTION: GL: -nostenciltwoside disables GL_EXT_stencil_two_side (which accelerate shadow rendering) gl_support_stenciltwoside = GL_CheckExtension("GL_EXT_stencil_two_side", stenciltwosidefuncs, "-nostenciltwoside", false);