X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogramsyntax.cpp;fp=source%2Fprogramsyntax.cpp;h=7ca71d5761352997fe8d4df0bce9bed83c868184;hb=fd103d76d7546f7e22aefc18c090a844fc67409f;hp=299e23b4e6e984ea7d10d66c250588cd9631e7ae;hpb=009918a51aa309eeceb6c02ecaebe45e8d357033;p=libs%2Fgl.git diff --git a/source/programsyntax.cpp b/source/programsyntax.cpp index 299e23b4..7ca71d57 100644 --- a/source/programsyntax.cpp +++ b/source/programsyntax.cpp @@ -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