diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-12 23:48:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-13 00:36:16 +0300 |
commit | be4ed51b29f77de23f6ffbf61df65554c6a394ad (patch) | |
tree | b1afa1ff261cddc1f03d512cbfc3702f7cebd61c /src/render/modernopenglgraphics.h | |
parent | ff3c80151bd6ddbf0b963dd28c25dc1c47fd4347 (diff) | |
download | mv-be4ed51b29f77de23f6ffbf61df65554c6a394ad.tar.gz mv-be4ed51b29f77de23f6ffbf61df65554c6a394ad.tar.bz2 mv-be4ed51b29f77de23f6ffbf61df65554c6a394ad.tar.xz mv-be4ed51b29f77de23f6ffbf61df65554c6a394ad.zip |
Not build unsupported render backends on nacl.
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r-- | src/render/modernopenglgraphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h index b1ee15a8f..5bdb70ea6 100644 --- a/src/render/modernopenglgraphics.h +++ b/src/render/modernopenglgraphics.h @@ -23,7 +23,7 @@ #ifndef RENDER_MODERNOPENGLGRAPHICS_H #define RENDER_MODERNOPENGLGRAPHICS_H -#if defined USE_OPENGL && !defined ANDROID +#if defined(USE_OPENGL) && !defined(ANDROID) && !defined(__native_client__) #include "localconsts.h" #include "render/graphics.h" @@ -135,6 +135,6 @@ class ModernOpenGLGraphics final : public Graphics #endif FBOInfo mFbo; }; -#endif +#endif // defined(USE_OPENGL) && !defined(ANDROID) && !defined(__native_client__) #endif // RENDER_MODERNOPENGLGRAPHICS_H |