1
0
Fork 0
forked from fte/fteqw

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
This commit is contained in:
Spoike 2010-07-11 12:12:45 +00:00
parent 0b1e3020d3
commit 16c45dca6e

View file

@ -957,6 +957,7 @@ qboolean GLVID_Init (rendererstate_t *info, unsigned char *palette)
InitSig(); // trap evil signals InitSig(); // trap evil signals
GL_Init(&GLX_GetSymbol); GL_Init(&GLX_GetSymbol);
qglGetIntegerv(GL_STENCIL_BITS, &gl_canstencil);
GLVID_SetPalette(palette); GLVID_SetPalette(palette);
GLVID_ShiftPalette(palette); GLVID_ShiftPalette(palette);