mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
parent
a502152075
commit
4eb7cbac47
@ -709,11 +709,6 @@ void _glfwPlatformSetCursor(_GLFWwindow* window, _GLFWcursor* cursor)
|
||||
mir_wait_for(mir_surface_configure_cursor(window->mir.surface, cursor->mir.conf));
|
||||
if (cursor->mir.custom_cursor)
|
||||
{
|
||||
/* FIXME Bug https://bugs.launchpad.net/mir/+bug/1477285
|
||||
Requires a triple buffer swap to get the cursor buffer on top! (since mir is tripled buffered)
|
||||
*/
|
||||
mir_buffer_stream_swap_buffers_sync(cursor->mir.custom_cursor);
|
||||
mir_buffer_stream_swap_buffers_sync(cursor->mir.custom_cursor);
|
||||
mir_buffer_stream_swap_buffers_sync(cursor->mir.custom_cursor);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user