summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/safeopenglgraphics.h')
-rw-r--r--src/render/safeopenglgraphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h
index 440ba7a39..8a162e8d6 100644
--- a/src/render/safeopenglgraphics.h
+++ b/src/render/safeopenglgraphics.h
@@ -37,8 +37,10 @@
#define GL_GLEXT_PROTOTYPES 1
#endif
#include <SDL_opengl.h>
+#ifndef __native_client__
#include <GL/glext.h>
#endif
+#endif
class SafeOpenGLGraphics final : public Graphics
{