nanogui
nanogui copied to clipboard
Make Widget::set_size() virtual
Disclaimer: I know very little about C++. That said: set_size() is overridden in Screen but set_size() was not marked as virtual leading to the overridden method not being called correctly. Adding the virtual keyword fixes the issue for me.