ITADN

raylib on wayland spams frames

#863Opendavid-vanderson 创建于 2026-05-20
D
david-vandersoncommented
Reported by "daniel" on Discord. `zig build raylib-app` (also raylib-zig) runs frames continuously. daniel got somewhere by doing: ``` raylib.endDrawing(); zglfw.waitEvents(); ``` Instead of the normal: ``` raylib.enableEventWaiting(); raylib.endDrawing(); raylib.disableEventWaiting(); ``` But `endDrawing` polls for events, and then `waitEvents` polls again. This needs to be investigated.
0 条评论