mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
Merge remote-tracking branch 'yquake2/master'
This commit is contained in:
commit
61bba6c6fd
1 changed files with 2 additions and 2 deletions
|
@ -105,9 +105,9 @@ int RI_PrepareForWindow(void)
|
||||||
SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
|
SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
|
||||||
|
|
||||||
#ifdef USE_SDL3
|
#ifdef USE_SDL3
|
||||||
if (SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8) == 0)
|
|
||||||
#else
|
|
||||||
if (SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8))
|
if (SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8))
|
||||||
|
#else
|
||||||
|
if (SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8) == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
gl_state.stencil = true;
|
gl_state.stencil = true;
|
||||||
|
|
Loading…
Reference in a new issue