Update fps example to be more inline with raylib's version
This commit is contained in:
parent
4edb34888a
commit
694702b758
1 changed files with 1 additions and 1 deletions
|
|
@ -40,8 +40,8 @@ pub fn main() anyerror!void {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rl.disableCursor(); // Limit cursor to relative movement inside the window
|
||||||
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
|
||||||
rl.disableCursor(); // Lock the cursor to the window
|
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
// Main game loop
|
// Main game loop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue