diff --git a/dgl/StandaloneWindow.hpp b/dgl/StandaloneWindow.hpp index 4cbca0b1..fefa5ab5 100644 --- a/dgl/StandaloneWindow.hpp +++ b/dgl/StandaloneWindow.hpp @@ -44,10 +44,7 @@ protected: void onReshape(int width, int height) override { if (fWidget != nullptr) - { fWidget->setSize(width, height); - fWidget->onReshape(width, height); - } Window::onReshape(width, height); }