]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programsyntax.cpp
Rename ProgramSyntax::Context to Stage
[libs/gl.git] / source / programsyntax.cpp
index 299e23b4e6e984ea7d10d66c250588cd9631e7ae..7ca71d5761352997fe8d4df0bce9bed83c868184 100644 (file)
@@ -248,7 +248,7 @@ void TraversingVisitor::visit(Return &ret)
 }
 
 
-Context::Context(ContextType t):
+Stage::Stage(StageType t):
        type(t),
        present(false),
        previous(0)
@@ -256,10 +256,10 @@ Context::Context(ContextType t):
 
 
 Module::Module():
-       global_context(GLOBAL),
-       vertex_context(VERTEX),
-       geometry_context(GEOMETRY),
-       fragment_context(FRAGMENT)
+       shared(SHARED),
+       vertex_stage(VERTEX),
+       geometry_stage(GEOMETRY),
+       fragment_stage(FRAGMENT)
 { }
 
 } // namespace ProgramSyntax