summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.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/normalopenglgraphics.cpp
parentba0e3f4f83adb259822f21dc861919617a4422b4 (diff)
downloadplus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.tar.gz
plus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.tar.bz2
plus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.tar.xz
plus-272c3e45b5bd785aaed6823b9e2c9299a0da6825.zip
Remove some depricated code from modernopengl or move it to renderers.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r--src/render/normalopenglgraphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index 088811d3f..8d662ec98 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -1235,6 +1235,7 @@ void NormalOpenGLGraphics::beginDraw()
glShadeModel(GL_FLAT);
glDepthMask(GL_FALSE);
+ glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
#ifndef ANDROID
glHint(GL_LINE_SMOOTH_HINT, GL_FASTEST);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);