mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-09 03:57:29 +00:00
Fix basic_window_web, where a bool was passed to an int
This commit is contained in:
parent
5bbafa4f86
commit
a7f626993c
@ -24,7 +24,7 @@ pub fn main() anyerror!void {
|
|||||||
defer rl.closeWindow(); // Close window and OpenGL context
|
defer rl.closeWindow(); // Close window and OpenGL context
|
||||||
|
|
||||||
if (builtin.os.tag == .emscripten) {
|
if (builtin.os.tag == .emscripten) {
|
||||||
c.emscripten_set_main_loop(@ptrCast(&updateDrawFrame), 0, true);
|
c.emscripten_set_main_loop(@ptrCast(&updateDrawFrame), 0, 1);
|
||||||
} else {
|
} else {
|
||||||
rl.setTargetFPS(60); // Set our game to run at 60 frames-per-second
|
rl.setTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user