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

[examples] Adding core_high_dpi example #4865

Merged
merged 1 commit into from
Mar 29, 2025

Conversation

marler8997
Copy link
Contributor

@marler8997 marler8997 commented Mar 27, 2025

This example enables HIGHDPI and renders a scale showing how the logical size compares to the pixel size of the window.

image

Screenshot 2025-03-27 at 11 16 57 AM

@marler8997 marler8997 force-pushed the core_highdpi_example branch from babb06e to acab044 Compare March 27, 2025 17:08
@raysan5
Copy link
Owner

raysan5 commented Mar 28, 2025

@marler8997 Would you mind renaming the example to core_high_dpi, all raylib examples follow at-least-3-words pattern on their names. Also, the example should be added to the VS2022 solution. Here the example contribution details: https://github.com/raysan5/raylib/blob/master/examples/examples_template.c

@raysan5 raysan5 changed the title Add core_highdpi example [examples] Adding core_high_dpi example Mar 28, 2025
This example enables HIGHDPI and renders a scale showing how the logical
size compares to the pixel size of the window.
@marler8997 marler8997 force-pushed the core_highdpi_example branch from acab044 to 336fd78 Compare March 28, 2025 22:48
@marler8997
Copy link
Contributor Author

Ok, updated the name and added to the VS project. I don't have VS to test it so hopefully the CI covers it?

@raysan5 raysan5 merged commit 902ffde into raysan5:master Mar 29, 2025
15 checks passed
@raysan5
Copy link
Owner

raysan5 commented Mar 29, 2025

@marler8997 thanks for the addition! 😄

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