We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd149dd commit 4d3cb77Copy full SHA for 4d3cb77
src/render/opengl/gl_engine_glfw.cpp
@@ -194,7 +194,10 @@ void GLEngineGLFW::applyWindowSize() {
194
// on some platform size changes are asynchonous, need to ensure it completes
195
// we don't want to just retry until the resize has happened, because it could be impossible
196
// TODO it seems like on X11 sometimes even this isn't enough?
197
- glfwWaitEvents();
+ // glfwWaitEvents();
198
+ // NSHARP: disabling this ^^^, on macOS it is causing the window to block until it gets focus,
199
+ // and some googling makes me thing the underlying buffers should be resized immediately, which is
200
+ // all we really care about
201
202
updateWindowSize(true);
203
}
0 commit comments