From 16c45dca6eb7be0d2c5698ec2fde0dddd29f3999 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 11 Jul 2010 12:12:45 +0000 Subject: [PATCH] If glx gave us a stencil buffer, tell the rest of the code so they can use it properly. git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3543 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidlinuxglx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/gl/gl_vidlinuxglx.c b/engine/gl/gl_vidlinuxglx.c index fc2b0f9ae..0346a97a0 100644 --- a/engine/gl/gl_vidlinuxglx.c +++ b/engine/gl/gl_vidlinuxglx.c @@ -957,6 +957,7 @@ qboolean GLVID_Init (rendererstate_t *info, unsigned char *palette) InitSig(); // trap evil signals GL_Init(&GLX_GetSymbol); + qglGetIntegerv(GL_STENCIL_BITS, &gl_canstencil); GLVID_SetPalette(palette); GLVID_ShiftPalette(palette);