diff options
Diffstat (limited to 'src/render/mgl.hpp')
-rw-r--r-- | src/render/mgl.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/render/mgl.hpp b/src/render/mgl.hpp index 0370cde74..50c1f8648 100644 --- a/src/render/mgl.hpp +++ b/src/render/mgl.hpp @@ -76,6 +76,24 @@ defName(glValidateProgram); defName(glGetProgramInfoLog); defName(glBindAttribLocation); defName(glActiveTexture); + +#define mglDrawArrays(...) \ + glDrawArrays(__VA_ARGS__) +#define mglDisable(...) \ + glDisable(__VA_ARGS__) +#define mglHint(...) \ + glHint(__VA_ARGS__) +#define mglScissor(...) \ + glScissor(__VA_ARGS__) +#define mglEnable(...) \ + glEnable(__VA_ARGS__) +#define mglBindTexture(...) \ + glBindTexture(__VA_ARGS__) +#define mglGetIntegerv(...) \ + glGetIntegerv(__VA_ARGS__) +#define mglClear(...) \ + glClear(__VA_ARGS__) + #endif defName(glGetAttribLocation); defName(glUniform3f); |