- 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:
parent
6046b11b4f
commit
fc0cf4f998
6 changed files with 45 additions and 51 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue