mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 05:51:01 +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);
|
||||
|
||||
#ifdef USE_SDL3
|
||||
if (SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8) == 0)
|
||||
#else
|
||||
if (SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8))
|
||||
#else
|
||||
if (SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8) == 0)
|
||||
#endif
|
||||
{
|
||||
gl_state.stencil = true;
|
||||
|
|
Loading…
Reference in a new issue