From be4ed51b29f77de23f6ffbf61df65554c6a394ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 12 Dec 2015 23:48:21 +0300 Subject: Not build unsupported render backends on nacl. --- src/render/mobileopenglgraphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/mobileopenglgraphics.h') diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h index 5011bae9e..ff722671e 100644 --- a/src/render/mobileopenglgraphics.h +++ b/src/render/mobileopenglgraphics.h @@ -23,7 +23,7 @@ #ifndef RENDER_MOBILEOPENGLGRAPHICS_H #define RENDER_MOBILEOPENGLGRAPHICS_H -#ifdef USE_OPENGL +#if defined(USE_OPENGL) && !defined(__native_client__) #include "localconsts.h" #include "render/graphics.h" @@ -96,6 +96,6 @@ class MobileOpenGLGraphics final : public Graphics #endif FBOInfo mFbo; }; -#endif +#endif // defined(USE_OPENGL) && !defined(__native_client__) #endif // RENDER_MOBILEOPENGLGRAPHICS_H -- cgit v1.2.3-60-g2f50