summaryrefslogtreecommitdiff
path: root/src/render/shaders
diff options
context:
space:
mode:
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"