Skip to content

optimize main loop - #45

Merged
sharkwouter merged 1 commit into
JoseTomasTocino:masterfrom
midzer:optimizeMainLoop
May 22, 2025
Merged

sharkwouter merged 1 commit into
JoseTomasTocino:masterfrom
midzer:optimizeMainLoop

Conversation

@midzer

@midzer midzer commented May 22, 2025

Copy link
Copy Markdown
Contributor

Hi,

  • improve SDL_Delay() logic
  • set SDL_WINDOW_ALLOW_HIGHDPI for Retina displays
  • remove SDL_RENDERER_ACCELERATED and let SDL choose whats best
  • introduce mApplicationActive to keep background activity low

Have a nice week
midzer

@sharkwouter

Copy link
Copy Markdown
Collaborator

Wow, thanks! I was not expecting to see more contributions to freegemas. This seems like a nice improvement, though. I'll go over the code.

@sharkwouter
sharkwouter merged commit eeca99c into JoseTomasTocino:master May 22, 2025
@midzer
midzer deleted the optimizeMainLoop branch May 22, 2025 14:01
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