]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.h
Forbid certain operations in SL::Compiler if compilation isn't done
[libs/gl.git] / source / glsl / compiler.h
index a515a326f2b10b21ce866fd4591e65b38558263d..0ae2ed4114924946f2fbc04ae33a34b7d84b4676 100644 (file)
@@ -41,6 +41,7 @@ private:
        Features features;
        Module *module;
        std::vector<std::string> imported_names;
+       bool compiled;
        bool specialized;
        std::map<std::string, int> spec_values;