complexlogic / flex-launcher

A customizable HTPC application launcher for Windows and Linux
https://complexlogic.github.io/flex-launcher/
The Unlicense
208 stars 13 forks source link

Have 4k Display Partially working... #45

Closed StarPlayrX closed 11 months ago

StarPlayrX commented 11 months ago

I was able to patch Flex Launcher to support 4k displays. And the images and text are now rendered in HiDPI. However When I launch an emulator, it gets rendered at a non-4K resolution. The child process for instance is 1080p but not 2x the pixel density.

While I have looking great within the Launcher, I don't have the same effect in stuff that is being launched.

StarPlayrX commented 11 months ago

Screenshot from 2023-10-25 22-37-28

StarPlayrX commented 11 months ago

Removed the two unix statements which seemed to either conflict with 4k rendering or didn't add anything to the mix.

Added SDL_WINDOW_MAXIMIZED | SDL_WINDOW_ALLOW_HIDPI | SDL_WINDOW_OPENGL

Set SDL_HINT_RENDER_SCALE_QUALITY to "3"