diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-15 19:13:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-15 19:13:15 +0300 |
commit | 5490b25e6cb99bfea3d4234c90d717575855eaf8 (patch) | |
tree | 78c22d0011d5784ba4994686c6dc46413933077c /src/render/mgl.hpp | |
parent | 1ffeeb5d960ecf45ff285b8045265bb38de86b18 (diff) | |
download | plus-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.hpp | 6 |
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); |