mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Fixed glfwDestroyWindow not flushing the output buffer.
This commit is contained in:
parent
c84bd6d393
commit
2200f87492
@ -72,6 +72,7 @@ The following dependencies are needed by the examples and test programs:
|
|||||||
- [X11] Bugfix: No check was made for the presence GLX 1.3 when
|
- [X11] Bugfix: No check was made for the presence GLX 1.3 when
|
||||||
`GLX_SGIX_fbconfig` was unavailable
|
`GLX_SGIX_fbconfig` was unavailable
|
||||||
- [X11] Bugfix: The message type of ICCCM protocol events was not checked
|
- [X11] Bugfix: The message type of ICCCM protocol events was not checked
|
||||||
|
- [X11] Bugfix: `glfwDestroyWindow` did not flush the output buffer.
|
||||||
|
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
@ -1106,6 +1106,8 @@ void _glfwPlatformDestroyWindow(_GLFWwindow* window)
|
|||||||
XFreeColormap(_glfw.x11.display, window->x11.colormap);
|
XFreeColormap(_glfw.x11.display, window->x11.colormap);
|
||||||
window->x11.colormap = (Colormap) 0;
|
window->x11.colormap = (Colormap) 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XFlush(_glfw.x11.display);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
|
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
|
||||||
|
Loading…
Reference in New Issue
Block a user