aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/opengl/opengl-sys.h')
-rw-r--r--backends/graphics/opengl/opengl-sys.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-sys.h b/backends/graphics/opengl/opengl-sys.h
index 4e21894380..f4d8488259 100644
--- a/backends/graphics/opengl/opengl-sys.h
+++ b/backends/graphics/opengl/opengl-sys.h
@@ -54,4 +54,10 @@ using namespace Tizen::Graphics::Opengl;
#include <GL/gl.h>
#endif
+#ifdef SDL_BACKEND
+#define GLCALLCONV APIENTRY
+#else
+#define GLCALLCONV
+#endif
+
#endif