flex-launcher icon indicating copy to clipboard operation
flex-launcher copied to clipboard

Have 4k Display Partially working...

Open AgentiLoop opened this issue 3 years ago • 2 comments

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.

AgentiLoop avatar Oct 25 '23 23:10 AgentiLoop

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

AgentiLoop avatar Oct 26 '23 00:10 AgentiLoop

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"

AgentiLoop avatar Oct 26 '23 02:10 AgentiLoop