Skip to content

Render when Resized / Menu Active#269

Closed
Psycast wants to merge 2 commits into
betafrom
render-when-frozen
Closed

Render when Resized / Menu Active#269
Psycast wants to merge 2 commits into
betafrom
render-when-frozen

Conversation

@Psycast
Copy link
Copy Markdown
Collaborator

@Psycast Psycast commented Mar 22, 2026

This moves most of the render logic outside message loop so that it and an external timer can call render as needed.

Keeps track if the window is being resize or the menu is open, and if so allows a 60fps timer to trigger a render update as well.

The debug stats made this kinda ugly.

Fixes #221

Psycast added 2 commits March 10, 2026 06:57
This moves most of the render logic outside message loop so that it and an external timer can call render as needed.

This keeps track if the window is being resize or the menu is open, and if so allows a 60hz timer to trigger a render update as well.

The most annoying thing is all the debug stats tbh, and I don't know if this is the best way to do this but everything else I tried failed, and this was a way recommended online that actually worked.
@uvcat7
Copy link
Copy Markdown
Owner

uvcat7 commented Apr 27, 2026

Turns out, this issue is also fixed in #275. Since I'd need to revisit these code changes that PR, I'm just gonna close this one. Sorry we didn't coordinate here; I could have saved you some effort.

@uvcat7 uvcat7 closed this Apr 27, 2026
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