Update fps example to be more inline with raylib's version

This commit is contained in:
Nikolas 2024-03-26 20:21:24 +01:00 committed by GitHub
parent 4edb34888a
commit 694702b758
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.disableCursor(); // Lock the cursor to the window
//--------------------------------------------------------------------------------------
// Main game loop