diff options
-rw-r--r-- | pugl/pugl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl.hpp b/pugl/pugl.hpp index b6386ac..a3bafab 100644 --- a/pugl/pugl.hpp +++ b/pugl/pugl.hpp @@ -43,7 +43,7 @@ public: puglSetDisplayFunc(_view, _onDisplay); } - ~View() { puglDestroy(_view); } + virtual ~View() { puglDestroy(_view); } virtual void initWindowParent(PuglNativeWindow parent) { puglInitWindowParent(_view, parent); |