Added refresh event for resize on OS X.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent ace0a8ef28
commit b0ae7a6957
  1. 1
      src/cocoa_window.m

@ -80,6 +80,7 @@ static void resetMouseCursor(_GLFWwindow *window)
int width, height; int width, height;
_glfwPlatformGetWindowSize(window, &width, &height); _glfwPlatformGetWindowSize(window, &width, &height);
_glfwInputWindowSize(window, width, height); _glfwInputWindowSize(window, width, height);
_glfwInputWindowDamage(window);
resetMouseCursor(window); resetMouseCursor(window);
} }

Loading…
Cancel
Save