diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-01 20:48:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-01 23:00:29 +0300 |
commit | 1a21baa93fd555e25b95732590282ba9a63dea86 (patch) | |
tree | e35bdcd4225da1f93b0a25897c5c2a0b8817653a /src/render/modernopenglgraphics.h | |
parent | a391d50cc061b16bcae121a868e848f8ea7c65d2 (diff) | |
download | manaplus-1a21baa93fd555e25b95732590282ba9a63dea86.tar.gz manaplus-1a21baa93fd555e25b95732590282ba9a63dea86.tar.bz2 manaplus-1a21baa93fd555e25b95732590282ba9a63dea86.tar.xz manaplus-1a21baa93fd555e25b95732590282ba9a63dea86.zip |
Fix compilation nacl with OpenGL (regal).
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r-- | src/render/modernopenglgraphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h index 792c4224c..b1ee15a8f 100644 --- a/src/render/modernopenglgraphics.h +++ b/src/render/modernopenglgraphics.h @@ -39,8 +39,10 @@ #define GL_GLEXT_PROTOTYPES 1 #endif #include <SDL_opengl.h> +#ifndef __native_client__ #include <GL/glext.h> #endif +#endif class OpenGLGraphicsVertexes; class ShaderProgram; |