diff --git a/examples/raylib.b b/examples/raylib.b index 7831462a..6481fd1c 100644 --- a/examples/raylib.b +++ b/examples/raylib.b @@ -77,8 +77,8 @@ main() { InitWindow(800, 600, "Hello, from B"); SetTargetFPS(60); - while (!WindowShouldClose()) { - if (IsKeyPressed(32)) { + while (!(WindowShouldClose() & 1)) { + if (IsKeyPressed(32) & 1) { paused = !paused; }