summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-01 20:48:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-01 23:00:29 +0300
commit1a21baa93fd555e25b95732590282ba9a63dea86 (patch)
treee35bdcd4225da1f93b0a25897c5c2a0b8817653a /src/resources
parenta391d50cc061b16bcae121a868e848f8ea7c65d2 (diff)
downloadplus-1a21baa93fd555e25b95732590282ba9a63dea86.tar.gz
plus-1a21baa93fd555e25b95732590282ba9a63dea86.tar.bz2
plus-1a21baa93fd555e25b95732590282ba9a63dea86.tar.xz
plus-1a21baa93fd555e25b95732590282ba9a63dea86.zip
Fix compilation nacl with OpenGL (regal).
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/fboinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/fboinfo.h b/src/resources/fboinfo.h
index 0898666e5..a6caaaddb 100644
--- a/src/resources/fboinfo.h
+++ b/src/resources/fboinfo.h
@@ -30,8 +30,10 @@
#include <GLES/glext.h>
#else
#include <SDL_opengl.h>
+#ifndef __native_client__
#include <GL/glext.h>
#endif
+#endif
struct FBOInfo final
{