]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programsyntax.cpp
Refactor module and stage management
[libs/gl.git] / source / programsyntax.cpp
index 299e23b4e6e984ea7d10d66c250588cd9631e7ae..6e4d070e2b3e480cd29b09ccabbb7e7ae4194415 100644 (file)
@@ -248,18 +248,14 @@ void TraversingVisitor::visit(Return &ret)
 }
 
 
-Context::Context(ContextType t):
+Stage::Stage(StageType t):
        type(t),
-       present(false),
        previous(0)
 { }
 
 
 Module::Module():
-       global_context(GLOBAL),
-       vertex_context(VERTEX),
-       geometry_context(GEOMETRY),
-       fragment_context(FRAGMENT)
+       shared(SHARED)
 { }
 
 } // namespace ProgramSyntax