]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Add GLSL keywords for overriding functions
[libs/gl.git] / source / glsl / syntax.h
index 86972869f2fe03ed2ebdce4bf47efe4e98d1aa5b..81fd6b4f6390050e0312aee3b2d04983e55217e4 100644 (file)
@@ -458,6 +458,8 @@ struct FunctionDeclaration: Statement
        std::string return_type;
        std::string name;
        NodeArray<VariableDeclaration> parameters;
+       bool virtua;
+       bool overrd;
        Block body;
 
        std::string signature;