]> git.tdb.fi Git - libs/gl.git/blobdiff - source/matrix.h
Better tracking of Renderer matrix changes
[libs/gl.git] / source / matrix.h
index 42e70c985d5d78d0cc22d408e187f1dda7a5f025..1782dc66a958257e90a439ec0bd2a180b6e58e41 100644 (file)
@@ -98,13 +98,13 @@ private:
 public:
        MatrixStack();
 
-       const Matrix &top();
+       const Matrix &top() const;
        void load(const Matrix &);
        void multiply(const Matrix &);
        void push();
        void pop();
 private:
-       void update();
+       virtual void update();
 
 public:
        MatrixStack &operator=(const Matrix &);