-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Examples] set FPS to 60 #4235
Conversation
@@ -45,6 +45,9 @@ int main(void) | |||
int currentTexture = 0; | |||
//--------------------------------------------------------------------------------------- |
There was a problem hiding this comment.
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 | |||
//--------------------------------------------------------------------------------------- |
There was a problem hiding this comment.
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) | |||
//--------------------------------------------------------------------------------------- |
There was a problem hiding this comment.
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) | |||
//--------------------------------------------------------------------------------------- |
There was a problem hiding this comment.
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
@CrackedPixel Just added some small review, please, could you check them? |
@CrackedPixel thanks for the reviews! |
Made the examples all consistently 60fps. some didnt have any caps, some were non-60