diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-08 21:48:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-11 18:15:54 +0300 |
commit | 5f23fe21b29083922dab55feb33258f3f855ca9e (patch) | |
tree | 09637f98663093435066a6436b931612c4a53d82 /src/render/shaders | |
parent | 167fe73b9dde166cc84927262cdd8c20ed2f4ac4 (diff) | |
download | plus-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.gz plus-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.bz2 plus-5f23fe21b29083922dab55feb33258f3f855ca9e.tar.xz plus-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.cpp | 3 | ||||
-rw-r--r-- | src/render/shaders/shadersmanager.cpp | 3 |
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" |