]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderer.h
Delay loading matrices until they are needed
[libs/gl.git] / source / renderer.h
index 1be1a4549211828d8b3dedfeea7898a4c0a526b3..ccb23a22a709ff1f864e6179435c9ead36bb5db8 100644 (file)
@@ -91,6 +91,7 @@ private:
 
        MtxStack mtx_stack;
        bool mtx_changed;
+       bool matrices_loaded;
        const Camera *camera;
        std::vector<State> state_stack;
        State *state;