From 5490b25e6cb99bfea3d4234c90d717575855eaf8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 15 Dec 2015 19:13:15 +0300 Subject: Replace in openglimagehelper all gl functions calls into defines. --- src/render/mgl.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/render') 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); -- cgit v1.2.3-70-g09d2