- removed some obsolete and useless GL calls.

This commit is contained in:
Christoph Oelckers 2014-08-17 11:41:03 +02:00
parent 5d6ef5cb16
commit 38796e7714
2 changed files with 0 additions and 3 deletions

View File

@ -659,7 +659,6 @@ void FGLRenderer::EndDrawScene(sector_t * viewsector)
}
glDisable(GL_STENCIL_TEST);
glDisable(GL_POLYGON_SMOOTH);
framebuffer->Begin2D(false);

View File

@ -150,8 +150,6 @@ void OpenGLFrameBuffer::InitializeState()
glEnable(GL_TEXTURE_2D);
glDisable(GL_LINE_SMOOTH);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);