mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpigui] Render during resize events (#2857)
This fixes scaling and black window artifacts on Mac.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user