- GZDoom now runs on an OpenGL core profile. :)

It's probably still necessary to replace GLEW with another loader library. GLEW is pretty much broken on core OpenGL without some hacky workarounds...
This commit is contained in:
Christoph Oelckers 2014-07-15 02:26:23 +02:00
commit fc0cf4f998
6 changed files with 45 additions and 51 deletions

View file

@ -121,6 +121,7 @@ void OpenGLFrameBuffer::InitializeState()
if (first)
{
glewExperimental=TRUE;
glewInit();
}
@ -140,7 +141,6 @@ void OpenGLFrameBuffer::InitializeState()
glDepthFunc(GL_LESS);
glEnable(GL_DITHER);
glEnable(GL_ALPHA_TEST);
glDisable(GL_CULL_FACE);
glDisable(GL_POLYGON_OFFSET_FILL);
glEnable(GL_POLYGON_OFFSET_LINE);