summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-12 23:48:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-13 00:36:16 +0300
commitbe4ed51b29f77de23f6ffbf61df65554c6a394ad (patch)
treeb1afa1ff261cddc1f03d512cbfc3702f7cebd61c /src/render/normalopenglgraphics.cpp
parentff3c80151bd6ddbf0b963dd28c25dc1c47fd4347 (diff)
downloadplus-be4ed51b29f77de23f6ffbf61df65554c6a394ad.tar.gz
plus-be4ed51b29f77de23f6ffbf61df65554c6a394ad.tar.bz2
plus-be4ed51b29f77de23f6ffbf61df65554c6a394ad.tar.xz
plus-be4ed51b29f77de23f6ffbf61df65554c6a394ad.zip
Not build unsupported render backends on nacl.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r--src/render/normalopenglgraphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index eb5609b19..2c28f4a79 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -20,7 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#if defined USE_OPENGL && !defined ANDROID
+#if defined(USE_OPENGL) && !defined(ANDROID) && !defined(__native_client__)
#include "render/normalopenglgraphics.h"
@@ -1725,4 +1725,4 @@ void NormalOpenGLGraphics::debugBindTexture(const Image *const image A_UNUSED)
}
#endif
-#endif // USE_OPENGL
+#endif // defined(USE_OPENGL) && !defined(ANDROID) && !defined(__native_client__)