summaryrefslogtreecommitdiff
path: root/src/render/mgl.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-15 19:36:26 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-15 19:36:26 +0300
commit86e889a1eee087d3808bbe6c5cfdf1d7cd4698bd (patch)
tree1264beca751c5662654626b30a2c0a35f45779cc /src/render/mgl.hpp
parentfc03df9053fa92f6482779f8e67e699cdc5536c1 (diff)
downloadmanaplus-86e889a1eee087d3808bbe6c5cfdf1d7cd4698bd.tar.gz
manaplus-86e889a1eee087d3808bbe6c5cfdf1d7cd4698bd.tar.bz2
manaplus-86e889a1eee087d3808bbe6c5cfdf1d7cd4698bd.tar.xz
manaplus-86e889a1eee087d3808bbe6c5cfdf1d7cd4698bd.zip
Replace all left OpenGL calls in mobile and modern backends to defines.
Diffstat (limited to 'src/render/mgl.hpp')
-rw-r--r--src/render/mgl.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/mgl.hpp b/src/render/mgl.hpp
index 68ffe4ad6..edf3882cf 100644
--- a/src/render/mgl.hpp
+++ b/src/render/mgl.hpp
@@ -101,6 +101,10 @@ defName(glActiveTexture);
glTexImage2D(__VA_ARGS__)
#define mglGenTextures(...) \
glGenTextures(__VA_ARGS__)
+#define mglPixelStorei(...) \
+ glPixelStorei(__VA_ARGS__)
+#define mglReadPixels(...) \
+ glReadPixels(__VA_ARGS__)
#endif
defName(glGetAttribLocation);