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:
parent
0b1e3020d3
commit
16c45dca6e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue