X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogramsyntax.cpp;h=6e4d070e2b3e480cd29b09ccabbb7e7ae4194415;hb=a29cc14162e911b36d18d1d1896216697c7dc0c1;hp=299e23b4e6e984ea7d10d66c250588cd9631e7ae;hpb=961715848c111907b5f443c5b545a429b40583e6;p=libs%2Fgl.git diff --git a/source/programsyntax.cpp b/source/programsyntax.cpp index 299e23b4..6e4d070e 100644 --- a/source/programsyntax.cpp +++ b/source/programsyntax.cpp @@ -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