X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmatrix.h;h=1782dc66a958257e90a439ec0bd2a180b6e58e41;hp=42e70c985d5d78d0cc22d408e187f1dda7a5f025;hb=90a26a1740d5843b60d07d9c39d8567bfed5189c;hpb=c48cb5362edb16c33ed5f6862a908bb9a754c85a diff --git a/source/matrix.h b/source/matrix.h index 42e70c98..1782dc66 100644 --- a/source/matrix.h +++ b/source/matrix.h @@ -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 &);