summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-11 18:30:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-11 19:24:23 +0300
commitec2493471591cee04b2ae691c99c4f1f34612bb8 (patch)
tree5343a09be0867b73022fd8000b9b399141eb6954 /src/render/graphics.cpp
parent5f23fe21b29083922dab55feb33258f3f855ca9e (diff)
downloadplus-ec2493471591cee04b2ae691c99c4f1f34612bb8.tar.gz
plus-ec2493471591cee04b2ae691c99c4f1f34612bb8.tar.bz2
plus-ec2493471591cee04b2ae691c99c4f1f34612bb8.tar.xz
plus-ec2493471591cee04b2ae691c99c4f1f34612bb8.zip
Add pseudo function for some gl calls.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 613a87b89..dd1dab84d 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -642,6 +642,8 @@ void Graphics::popClipArea()
#ifdef USE_OPENGL
void Graphics::setOpenGLFlags()
{
+ // here disable/enable probably need convert to mgl
+
glEnable(GL_SCISSOR_TEST);
glDisable(GL_MULTISAMPLE);