mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Enable high-resolution SDL2 rendering.
Combined with 'scale_nearest true', this offers sharp graphics on retina displays.
This commit is contained in:
parent
ab0948d02e
commit
0fe02268f7
@ -705,7 +705,7 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags
|
|||||||
|
|
||||||
int window_width = width;
|
int window_width = width;
|
||||||
int window_height = height;
|
int window_height = height;
|
||||||
Uint32 window_flags = 0;
|
Uint32 window_flags = SDL_WINDOW_ALLOW_HIGHDPI;
|
||||||
const int window_flags_to_monitor = SDL_WINDOW_FULLSCREEN;
|
const int window_flags_to_monitor = SDL_WINDOW_FULLSCREEN;
|
||||||
|
|
||||||
if (flags & SDL_WINDOW_FULLSCREEN) {
|
if (flags & SDL_WINDOW_FULLSCREEN) {
|
||||||
|
Loading…
Reference in New Issue
Block a user