Describe the bug
The vid_desktopfullscreen "1" setting produces pixelated, low DPI output on macOS, see the original vid_desktopfullscreen "1" screenshot.
To reproduce
Set the following settings:
vid_borderless "0"
vid_desktopfullscreen "1"
vid_fullscreen "1"
vid_height "1600"
vid_width "2560"
Expected behavior
Sharp rendering, identical to the graphics we get when vid_desktopfullscreen is "0", see the original vid_desktopfullscreen "0" screenshot.
Additional context
I use vid_desktopfullscreen "1" so I can easily Cmd-Tab between applications. Otherwise I have to press Alt-Enter to exit full screen and then switch between apps.
I've tried adding SDL_WINDOW_ALLOW_HIGHDPI to the SDL_CreateWindow call and it fixed the issue for me, see the allow_hidpi vid_desktopfullscreen "1" screenshot.
|
flags = SDL_WINDOW_HIDDEN | SDL_WINDOW_VULKAN; |
However, doing vid_restart in the game afterwards freezes the video output. The game is going, but it's a still image.
Screenshots
Desktop
- OS: macOS Ventura 13.3
- GPU vendor and model: Apple M1
Describe the bug
The
vid_desktopfullscreen "1"setting produces pixelated, low DPI output on macOS, see the original vid_desktopfullscreen "1" screenshot.To reproduce
Set the following settings:
Expected behavior
Sharp rendering, identical to the graphics we get when
vid_desktopfullscreenis"0", see the original vid_desktopfullscreen "0" screenshot.Additional context
I use
vid_desktopfullscreen "1"so I can easily Cmd-Tab between applications. Otherwise I have to press Alt-Enter to exit full screen and then switch between apps.I've tried adding
SDL_WINDOW_ALLOW_HIGHDPIto theSDL_CreateWindowcall and it fixed the issue for me, see the allow_hidpi vid_desktopfullscreen "1" screenshot.vkQuake/Quake/gl_vidsdl.c
Line 414 in d1b931c
However, doing
vid_restartin the game afterwards freezes the video output. The game is going, but it's a still image.Screenshots
Desktop