From d96442389a87f094c4358e0f9c3b01a3d2cc9d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 30 May 2020 23:39:30 +0200 Subject: [PATCH] Platform: remove copypasted comment. --- src/Magnum/Platform/GlfwApplication.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Magnum/Platform/GlfwApplication.cpp b/src/Magnum/Platform/GlfwApplication.cpp index 15feb83fe..1c3d0dc18 100644 --- a/src/Magnum/Platform/GlfwApplication.cpp +++ b/src/Magnum/Platform/GlfwApplication.cpp @@ -727,10 +727,7 @@ bool GlfwApplication::mainLoopIteration() { the call goes into the base class no-op viewportEvent()), but when calling create() / tryCreate() from user constructor, this might lead to crashes as things touched by viewportEvent() might not be - initialized yet. To fix this, we ignore the first ever viewport - event. This behavior was not observed on Linux or macOS (and thus - ignoring the first viewport event there may be harmful), so keeping - this Windows-only. + initialized yet. 2. On macOS, GLFW might sometimes (hard to reproduce) trigger a draw event when creating the window. That's even worse than on Windows because this leads to pure virtual drawEvent() getting called and