[wpigui] Render during resize events (#2857)

This fixes scaling and black window artifacts on Mac.
This commit is contained in:
Peter Johnson
2020-11-13 21:18:08 -08:00
committed by GitHub
parent 50050a0e53
commit 6d22b5a3c6

View File

@@ -36,6 +36,7 @@ static void WindowSizeCallback(GLFWwindow* window, int width, int height) {
gContext->width = width;
gContext->height = height;
}
PlatformRenderFrame();
}
static void FramebufferSizeCallback(GLFWwindow* window, int width, int height) {