GLState: Constify

This commit is contained in:
Jonas Kulla 2014-12-24 05:37:26 +01:00
parent 725af97e7b
commit b4bca7ea3b
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ struct GLProperty
void push() { stack.push(current); }
void pop() { set(stack.top()); stack.pop(); }
T &get() { return current; }
const T &get() { return current; }
void set(const T &value)
{
if (value == current)