summaryrefslogtreecommitdiffstats
path: root/bin/tests/test_shader_lang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/test_shader_lang.cpp')
-rw-r--r--bin/tests/test_shader_lang.cpp18
1 files changed, 15 insertions, 3 deletions
diff --git a/bin/tests/test_shader_lang.cpp b/bin/tests/test_shader_lang.cpp
index 9c0075c47d..6c8132122c 100644
--- a/bin/tests/test_shader_lang.cpp
+++ b/bin/tests/test_shader_lang.cpp
@@ -37,9 +37,9 @@
#include "scene/gui/text_edit.h"
#include "print_string.h"
#include "servers/visual/shader_language.h"
-#include "drivers/gles2/shader_compiler_gles2.h"
-
+//#include "drivers/gles2/shader_compiler_gles2.h"
+#if 0
typedef ShaderLanguage SL;
namespace TestShaderLang {
@@ -323,7 +323,7 @@ MainLoop* test() {
if (!err) {
print_line(rcode);
}
-
+#if 0
ShaderCompilerGLES2 comp;
String codeline,globalsline;
SL::VarInfo vi;
@@ -333,6 +333,18 @@ MainLoop* test() {
ShaderCompilerGLES2::Flags fl;
comp.compile(code,ShaderLanguage::SHADER_MATERIAL_FRAGMENT,codeline,globalsline,fl);
+#endif
+ return NULL;
+}
+
+}
+#endif
+
+typedef ShaderLanguage SL;
+
+namespace TestShaderLang {
+
+MainLoop* test() {
return NULL;
}