summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-08 21:48:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-11 18:15:54 +0300
commit5f23fe21b29083922dab55feb33258f3f855ca9e (patch)
tree09637f98663093435066a6436b931612c4a53d82 /src/render/mobileopenglgraphics.cpp
parent167fe73b9dde166cc84927262cdd8c20ed2f4ac4 (diff)
downloadmv-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.gz
mv-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.bz2
mv-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.xz
mv-5f23fe21b29083922dab55feb33258f3f855ca9e.zip
Add nacl gl init and nacl defines and includes in most files.
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r--src/render/mobileopenglgraphics.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index caba7a9e9..75d13f9cd 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -30,6 +30,9 @@
#include "logger.h"
#include "render/mgl.h"
+#ifdef __native_client__
+#include "render/naclglfunctions.h"
+#endif
#include "resources/image.h"
#include "resources/imagerect.h"
@@ -867,6 +870,7 @@ void MobileOpenGLGraphics::calcWindow(ImageCollection *const vertCol,
calcImageRect(vert, x, y, w, h, imgRect);
}
+
void MobileOpenGLGraphics::updateScreen()
{
BLOCK_START("Graphics::updateScreen")