Merge branch 'irixxxx'

This commit is contained in:
notaz 2022-09-10 16:57:39 +03:00
commit 7167e5f337
7 changed files with 37 additions and 38 deletions

View file

@ -125,7 +125,9 @@ int plat_sdl_change_video_mode(int w, int h, int force)
if (plat_target.vout_method == 0) {
SDL_PumpEvents();
#if defined(SDL_TRIPLEBUF) && defined(SDL_BUFFER_3X)
#if defined SDL_SURFACE_SW
plat_sdl_screen = SDL_SetVideoMode(w, h, 16, SDL_SWSURFACE);
#elif defined(SDL_TRIPLEBUF) && defined(SDL_BUFFER_3X)
plat_sdl_screen = SDL_SetVideoMode(w, h, 16, SDL_HWSURFACE | SDL_TRIPLEBUF);
#else
plat_sdl_screen = SDL_SetVideoMode(w, h, 16, SDL_HWSURFACE | SDL_DOUBLEBUF);