]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/program.cpp
Move the GLSL compiler entirely in its own namespace
[libs/gl.git] / source / core / program.cpp
index 00bca8343cb4d89e05f619f78bda72773a76ce77..74c1df3e3058ac069bda809cf96a9566bf1e2904 100644 (file)
@@ -14,9 +14,9 @@
 #include "error.h"
 #include "misc.h"
 #include "program.h"
-#include "programcompiler.h"
 #include "resources.h"
 #include "shader.h"
+#include "glsl/compiler.h"
 
 using namespace std;
 
@@ -32,7 +32,7 @@ Program::Program(const std::string &source)
 {
        init();
 
-       ProgramCompiler compiler;
+       SL::Compiler compiler;
        if(source.find(';')==string::npos && source.size()>5 && !source.compare(source.size()-5, 5, ".glsl"))
        {
                if(RefPtr<IO::Seekable> io = Resources::get_builtins().open(source))