diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-28 20:06:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-28 20:06:44 +0300 |
commit | 272c3e45b5bd785aaed6823b9e2c9299a0da6825 (patch) | |
tree | 7c6fe3b2bf7a9efe2636c9a384d25248db78e9cf /src/render/normalopenglgraphics.cpp | |
parent | ba0e3f4f83adb259822f21dc861919617a4422b4 (diff) | |
download | plus-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.cpp | 1 |
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); |