- removed stencil buffer check from SDL init code because it caused a crash.

This commit is contained in:
Christoph Oelckers 2013-08-19 08:04:31 +02:00
parent b61ef3a107
commit 9f12e5928c
1 changed files with 0 additions and 7 deletions

View File

@ -311,13 +311,6 @@ bool SDLGLVideo::InitHardware (bool allowsoftware, int multisample)
Printf ("R_OPENGL: Reverting to software mode...\n"); Printf ("R_OPENGL: Reverting to software mode...\n");
return false; 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; return true;
} }