summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-28 20:06:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-28 20:06:44 +0300
commit272c3e45b5bd785aaed6823b9e2c9299a0da6825 (patch)
tree7c6fe3b2bf7a9efe2636c9a384d25248db78e9cf /src/render/modernopenglgraphics.cpp
parentba0e3f4f83adb259822f21dc861919617a4422b4 (diff)
downloadmanaplus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.tar.gz
manaplus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.tar.bz2
manaplus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.tar.xz
manaplus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.zip
Remove some depricated code from modernopengl or move it to renderers.
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index ae121be85..994a5f7a9 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -826,23 +826,15 @@ void ModernOpenGLGraphics::beginDraw()
{
glEnable(GL_SCISSOR_TEST);
glDisable(GL_DITHER);
- glDisable(GL_LIGHTING);
glDisable(GL_DEPTH_TEST);
- glDisable(GL_FOG);
glDisable(GL_COLOR_LOGIC_OP);
- glDisable(GL_COLOR_MATERIAL);
glDisable(GL_STENCIL_TEST);
-// glEnable(GL_TEXTURE_2D);
glDisable(GL_LINE_SMOOTH);
glDisable(GL_POLYGON_SMOOTH);
- glShadeModel(GL_FLAT);
-
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
#ifndef ANDROID
-// glHint(GL_LINE_SMOOTH_HINT, GL_FASTEST);
-// glHint(GL_POLYGON_SMOOTH_HINT, GL_FASTEST);
#ifndef __MINGW32__
glHint(GL_TEXTURE_COMPRESSION_HINT, GL_FASTEST);
#endif