mirror of https://github.com/ZDoom/gzdoom.git
- removed stencil buffer check from SDL init code because it caused a crash.
This commit is contained in:
parent
b61ef3a107
commit
9f12e5928c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue