From 54df1073c4387a58e99192b19b501e661386ba66 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 8 Nov 2007 21:47:50 +0000 Subject: [PATCH] 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 --- vid_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2