Browse Source

SDL1: Remove SDL_DOUBLEBUF

Turns out this causes flickering when consuming a potion in the belt on RG300.
Since it also doesn't work on Amiga, just remove it for now.
pull/369/head
Gleb Mazovetskiy 7 years ago committed by Anders Jenbo
parent
commit
7dc73dd825
  1. 2
      SourceX/miniwin/misc.cpp

2
SourceX/miniwin/misc.cpp

@ -136,7 +136,7 @@ bool SpawnWindow(LPCSTR lpWindowName, int nWidth, int nHeight)
DvlIntSetting("grab input", &grabInput);
#ifdef USE_SDL1
int flags = SDL_SWSURFACE | SDL_DOUBLEBUF | SDL_HWPALETTE;
int flags = SDL_SWSURFACE | SDL_HWPALETTE;
if (fullscreen)
flags |= SDL_FULLSCREEN;
SDL_WM_SetCaption(lpWindowName, WINDOW_ICON_NAME);

Loading…
Cancel
Save