mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- removed stencil buffer check from SDL init code because it caused a crash.
This commit is contained in:
parent
b61ef3a107
commit
9f12e5928c
1 changed files with 0 additions and 7 deletions
|
@ -311,13 +311,6 @@ bool SDLGLVideo::InitHardware (bool allowsoftware, int multisample)
|
|||
Printf ("R_OPENGL: Reverting to software mode...\n");
|
||||
return false;
|
||||
}
|
||||
int value = 0;
|
||||
SDL_GL_GetAttribute( SDL_GL_STENCIL_SIZE, &value );
|
||||
if (!value)
|
||||
{
|
||||
Printf("R_OPENGL: Failed to initialize stencil buffer! Reverting to software mode...\n");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue