From 86e889a1eee087d3808bbe6c5cfdf1d7cd4698bd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 15 Dec 2015 19:36:26 +0300 Subject: Replace all left OpenGL calls in mobile and modern backends to defines. --- src/render/mgl.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/render/mgl.hpp') 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); -- cgit v1.2.3-70-g09d2