Wayland: Remove superfluous initialize to NULL

The whole window struct has already been cleared to zero.

(cherry picked from commit 216ea3d735)
This commit is contained in:
Camilla Löwy 2021-12-27 18:20:30 +01:00
parent eb6fc17746
commit 1fa4312b29

View File

@ -944,8 +944,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
}
}
window->wl.currentCursor = NULL;
window->wl.monitors = calloc(1, sizeof(_GLFWmonitor*));
window->wl.monitorsCount = 0;
window->wl.monitorsSize = 1;