summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-23 20:15:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-23 20:15:15 +0300
commit9c1e1e3c8af21342da1bdf616a800ff373cad433 (patch)
treee922b58388fc09b465708823e86addacc563a521
parentdf4566d7be8f8846eaff093065cf5103d5bf52d4 (diff)
downloadmanaverse-9c1e1e3c8af21342da1bdf616a800ff373cad433.tar.gz
manaverse-9c1e1e3c8af21342da1bdf616a800ff373cad433.tar.bz2
manaverse-9c1e1e3c8af21342da1bdf616a800ff373cad433.tar.xz
manaverse-9c1e1e3c8af21342da1bdf616a800ff373cad433.zip
Fix compilation with NaCl.
-rw-r--r--src/render/nacl/naclgles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/nacl/naclgles.cpp b/src/render/nacl/naclgles.cpp
index 18e71155d..98e863594 100644
--- a/src/render/nacl/naclgles.cpp
+++ b/src/render/nacl/naclgles.cpp
@@ -36,7 +36,7 @@
#include "debug.h"
const struct PPB_OpenGLES2* gles2Interface = nullptr;
-PP_Resource gles2Context = nullptr;
+PP_Resource gles2Context = 0;
const struct PPB_Graphics3D_1_0 *graphics3dInterface = nullptr;
void NaclGles::initGles()