Skip to content

Fix window scaling on MacOS#305

Merged
jeffamstutz merged 3 commits into
NVIDIA:next_releasefrom
tarcila:misc-fixes
Jun 8, 2026
Merged

Fix window scaling on MacOS#305
jeffamstutz merged 3 commits into
NVIDIA:next_releasefrom
tarcila:misc-fixes

Conversation

@tarcila

@tarcila tarcila commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Use SDL renderer scaling instead of font scaling. Font scaling is still available and defaults to 1.
Plus misc compilation and warning fixes

beforeafter
Screenshot 2026-06-05 at 20 29 16 Screenshot 2026-06-05 at 20 28 27

tarcila added 3 commits June 5, 2026 20:25
The find_if lambda captured the structured binding 'name' (from the
enumerateArguments() decomposition), which is only standard in C++20 and warns
under C++17 (-Wc++20-extensions). Use an init-capture (&paramName = name) so a
fresh variable is captured instead of the binding.
@tarcila tarcila requested a review from jeffamstutz June 6, 2026 00:50
@jeffamstutz

Copy link
Copy Markdown
Collaborator

Nice!

@jeffamstutz jeffamstutz merged commit c92d5f8 into NVIDIA:next_release Jun 8, 2026
20 checks passed
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