mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-24 12:51:09 +00:00
- removed some obsolete and useless GL calls.
This commit is contained in:
parent
5d6ef5cb16
commit
38796e7714
2 changed files with 0 additions and 3 deletions
|
@ -659,7 +659,6 @@ void FGLRenderer::EndDrawScene(sector_t * viewsector)
|
|||
}
|
||||
|
||||
glDisable(GL_STENCIL_TEST);
|
||||
glDisable(GL_POLYGON_SMOOTH);
|
||||
|
||||
framebuffer->Begin2D(false);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue