summaryrefslogtreecommitdiff
path: root/src/render/mgl.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-15 19:13:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-15 19:13:15 +0300
commit5490b25e6cb99bfea3d4234c90d717575855eaf8 (patch)
tree78c22d0011d5784ba4994686c6dc46413933077c /src/render/mgl.hpp
parent1ffeeb5d960ecf45ff285b8045265bb38de86b18 (diff)
downloadplus-5490b25e6cb99bfea3d4234c90d717575855eaf8.tar.gz
plus-5490b25e6cb99bfea3d4234c90d717575855eaf8.tar.bz2
plus-5490b25e6cb99bfea3d4234c90d717575855eaf8.tar.xz
plus-5490b25e6cb99bfea3d4234c90d717575855eaf8.zip
Replace in openglimagehelper all gl functions calls into defines.
Diffstat (limited to 'src/render/mgl.hpp')
-rw-r--r--src/render/mgl.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/mgl.hpp b/src/render/mgl.hpp
index 7da8ebabb..68ffe4ad6 100644
--- a/src/render/mgl.hpp
+++ b/src/render/mgl.hpp
@@ -95,6 +95,12 @@ defName(glActiveTexture);
glClear(__VA_ARGS__)
#define mglGetString(...) \
glGetString(__VA_ARGS__)
+#define mglTexParameteri(...) \
+ glTexParameteri(__VA_ARGS__)
+#define mglTexImage2D(...) \
+ glTexImage2D(__VA_ARGS__)
+#define mglGenTextures(...) \
+ glGenTextures(__VA_ARGS__)
#endif
defName(glGetAttribLocation);