Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Examples] set FPS to 60 #4235

Merged
merged 2 commits into from
Aug 10, 2024

Conversation

CrackedPixel
Copy link
Contributor

Made the examples all consistently 60fps. some didnt have any caps, some were non-60

@CrackedPixel CrackedPixel changed the title set FPS to 60 [Examples] set FPS to 60 Aug 8, 2024
@@ -45,6 +45,9 @@ int main(void)
int currentTexture = 0;
//---------------------------------------------------------------------------------------
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should be removed if addded below

@@ -29,6 +29,9 @@ int main(void)
Texture2D texture = LoadTexture("resources/raylib_logo.png"); // Texture loading
//---------------------------------------------------------------------------------------
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should be removed if addded below

@@ -65,6 +65,9 @@ int main(void)
UnloadImage(checkedIm); // Unload CPU (RAM) image data (pixels)
//---------------------------------------------------------------------------------------
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should be removed if addded below

@@ -40,6 +40,9 @@ int main(void)
UnloadImage(image); // Unload retrieved image data from CPU memory (RAM)
//---------------------------------------------------------------------------------------
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should be removed if addded below

@raysan5
Copy link
Owner

raysan5 commented Aug 9, 2024

@CrackedPixel Just added some small review, please, could you check them?

@CrackedPixel
Copy link
Contributor Author

CrackedPixel commented Aug 10, 2024

@raysan5 updated to remove the extra commented out lines. sorry about that! f223418

@raysan5 raysan5 merged commit 418b878 into raysan5:master Aug 10, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Aug 10, 2024

@CrackedPixel thanks for the reviews!

@CrackedPixel CrackedPixel deleted the update-examples-set-fps-sixty branch October 4, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants