This commit is contained in:
Kovid Goyal 2019-03-16 07:37:36 +05:30
parent e24c758341
commit e9e4ac13ee
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

2
glfw/window.c vendored
View File

@ -143,7 +143,7 @@ void _glfwInputFramebufferSize(_GLFWwindow* window, int width, int height)
// //
void _glfwInputLiveResize(_GLFWwindow* window, bool started) void _glfwInputLiveResize(_GLFWwindow* window, bool started)
{ {
if (window->callbacks.liveResize) if (window && window->callbacks.liveResize)
window->callbacks.liveResize((GLFWwindow*) window, started); window->callbacks.liveResize((GLFWwindow*) window, started);
} }