- removed most of the specific options for legacy hardware and consolidated them in one variable (does not work yet.)
This commit is contained in:
parent
4a0e082836
commit
3389a5a74e
27 changed files with 171 additions and 349 deletions
|
|
@ -162,7 +162,7 @@ void OpenGLFrameBuffer::InitializeState()
|
|||
glEnable(GL_BLEND);
|
||||
glEnable(GL_DEPTH_CLAMP);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
if (gl.glslversion == 0) glEnable(GL_TEXTURE_2D);
|
||||
if (gl.legacyMode) glEnable(GL_TEXTURE_2D);
|
||||
glDisable(GL_LINE_SMOOTH);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue