summaryrefslogtreecommitdiff
path: root/src/render/shaders
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/shaders
parent167fe73b9dde166cc84927262cdd8c20ed2f4ac4 (diff)
downloadmanaplus-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.gz
manaplus-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.bz2
manaplus-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.xz
manaplus-5f23fe21b29083922dab55feb33258f3f855ca9e.zip
Add nacl gl init and nacl defines and includes in most files.
Diffstat (limited to 'src/render/shaders')
-rw-r--r--src/render/shaders/shaderprogram.cpp3
-rw-r--r--src/render/shaders/shadersmanager.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/render/shaders/shaderprogram.cpp b/src/render/shaders/shaderprogram.cpp
index e910be3d3..4cb4786c8 100644
--- a/src/render/shaders/shaderprogram.cpp
+++ b/src/render/shaders/shaderprogram.cpp
@@ -23,6 +23,9 @@
#include "render/shaders/shaderprogram.h"
#include "render/mgl.h"
+#ifdef __native_client__
+#include "render/naclglfunctions.h"
+#endif
#include "render/shaders/shader.h"
diff --git a/src/render/shaders/shadersmanager.cpp b/src/render/shaders/shadersmanager.cpp
index c79abe2cc..9caed603d 100644
--- a/src/render/shaders/shadersmanager.cpp
+++ b/src/render/shaders/shadersmanager.cpp
@@ -26,6 +26,9 @@
#include "logger.h"
#include "render/mgl.h"
+#ifdef __native_client__
+#include "render/naclglfunctions.h"
+#endif
#include "render/shaders/shader.h"
#include "render/shaders/shaderprogram.h"