]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources/resources.cpp
Move the GLSL compiler entirely in its own namespace
[libs/gl.git] / source / resources / resources.cpp
index d52dbe34fb61c745e74c4cad108cdd0a604990e7..11099ae077d935b8daf66318d37cf64e5eb768f4 100644 (file)
@@ -12,7 +12,6 @@
 #include "pipelinetemplate.h"
 #include "pose.h"
 #include "program.h"
-#include "programcompiler.h"
 #include "resourcemanager.h"
 #include "resources.h"
 #include "sampler.h"
@@ -21,6 +20,7 @@
 #include "texture2d.h"
 #include "texture2darray.h"
 #include "texturecube.h"
+#include "glsl/compiler.h"
 
 using namespace std;
 
@@ -172,7 +172,7 @@ Program *Resources::create_program(const string &name)
 
        if(RefPtr<IO::Seekable> io = open_raw(name))
        {
-               ProgramCompiler compiler;
+               SL::Compiler compiler;
                compiler.compile(*io, this, name);
                RefPtr<Program> program = new Program;
                compiler.add_shaders(*program);