mirror of
https://github.com/glfw/glfw.git
synced 2025-12-15 19:53:14 +00:00
Remove flush
This commit is contained in:
parent
8a213dcdf1
commit
78c2e851b0
@ -1419,18 +1419,6 @@ static void handleEvents(double* timeout)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!flushDisplay())
|
|
||||||
{
|
|
||||||
_GLFWwindow* window = _glfw.windowListHead;
|
|
||||||
while (window)
|
|
||||||
{
|
|
||||||
_glfwInputWindowCloseRequest(window);
|
|
||||||
window = window->next;
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
fds[DISPLAY_FD].fd = -1; // ignore wl events
|
fds[DISPLAY_FD].fd = -1; // ignore wl events
|
||||||
fds[LIBDECOR_FD].fd = -1;
|
fds[LIBDECOR_FD].fd = -1;
|
||||||
//fds[CURSOR_FD].fd = -1;
|
//fds[CURSOR_FD].fd = -1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user