()
| 679 | |
| 680 | #[no_mangle] |
| 681 | pub extern "C" fn bloom_begin_drawing() { |
| 682 | #[cfg(target_os = "linux")] |
| 683 | { |
| 684 | x11_impl::poll_events(); |
| 685 | poll_linux_gamepad(); |
| 686 | // Apply Q2 cursor shape — mirrors macOS NSCursor calls in its |
| 687 | // event loop. set_cursor_shape just stores the value; the X11 |
| 688 | // cursor only changes when we actually call XDefineCursor. |
| 689 | x11_impl::apply_cursor_shape(engine().input.cursor_shape); |
| 690 | } |
| 691 | engine().begin_frame(); |
| 692 | } |
| 693 | |
| 694 | #[no_mangle] |
| 695 | pub extern "C" fn bloom_end_drawing() { |
nothing calls this directly
no test coverage detected