cleaner approach to handling the viewport bug

This commit is contained in:
Edward Rudd 2013-12-31 19:56:20 -05:00
parent f42539e02b
commit e87bdb8a95
2 changed files with 6 additions and 1 deletions

View file

@ -52,6 +52,10 @@ struct GLProperty
set(value);
}
void refresh()
{
apply(current);
}
private:
virtual void apply(const T &value) = 0;