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

Use manifest for windows DPI awareness #3270

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

Spodi
Copy link
Contributor

@Spodi Spodi commented Oct 7, 2023

This is needed for proper DPI awareness on Windows.

The LUS PR pushes the responsibility of making the Windows app DPI aware to the port, so we need this change to the Windows app manifest on the ports side, to tell Windows that we can handle it.

This means when the LUS changes are merged, the port is completely DPI unaware under Windows until the app manifest changes in this PR are merged!

Build Artifacts

@Spodi Spodi force-pushed the win-dpi-aware branch 2 times, most recently from e76db3c to 7cbef2d Compare February 2, 2024 11:11
@Spodi
Copy link
Contributor Author

Spodi commented Feb 11, 2024

Removed LUS changes in this PR, cause they are already pulled in the SoH dev branch.

Keep in mind this is kinda urgent now that the LUS stuff is in. Without this there is no DPI awareness at all on Windows. This means the game (including imgui) would run at the wrong internal resolution if Dpi are set >100%.

Copy link
Contributor

@briaguya-ai briaguya-ai left a comment

Choose a reason for hiding this comment

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

approving because @inspectredc approved

@garrettjoecox garrettjoecox merged commit 460ec1b into HarbourMasters:develop Feb 16, 2024
8 checks passed
@Spodi Spodi deleted the win-dpi-aware branch February 24, 2024 10:49
Spodi added a commit to Spodi/Shipwright that referenced this pull request Jul 27, 2024
Archez pushed a commit that referenced this pull request Aug 5, 2024
* Use manifest for windows DPI awareness (#3270)

* Update libultraship

* Update libultraship
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.

4 participants