From 38796e7714730ba4836720ef4023b3234fb53e03 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 17 Aug 2014 11:41:03 +0200 Subject: [PATCH] - removed some obsolete and useless GL calls. --- src/gl/scene/gl_scene.cpp | 1 - src/gl/system/gl_framebuffer.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/gl/scene/gl_scene.cpp b/src/gl/scene/gl_scene.cpp index e301b3da63..38fc5a7eb3 100644 --- a/src/gl/scene/gl_scene.cpp +++ b/src/gl/scene/gl_scene.cpp @@ -659,7 +659,6 @@ void FGLRenderer::EndDrawScene(sector_t * viewsector) } glDisable(GL_STENCIL_TEST); - glDisable(GL_POLYGON_SMOOTH); framebuffer->Begin2D(false); diff --git a/src/gl/system/gl_framebuffer.cpp b/src/gl/system/gl_framebuffer.cpp index b2f147dc1a..2b03db0136 100644 --- a/src/gl/system/gl_framebuffer.cpp +++ b/src/gl/system/gl_framebuffer.cpp @@ -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);