Various fixes for monitor work area retrieval from upstream

This commit is contained in:
Kovid Goyal
2019-03-06 09:08:08 +05:30
parent 2e0d39b512
commit 4c4c6ab0e6
9 changed files with 168 additions and 70 deletions

4
glfw/monitor.c vendored
View File

@@ -341,8 +341,8 @@ GLFWAPI void glfwGetMonitorWorkarea(GLFWmonitor* handle, int* xpos, int* ypos, i
*ypos = 0;
if (width)
*width = 0;
if (width)
*width = 0;
if (height)
*height = 0;
_GLFW_REQUIRE_INIT();