aboutsummaryrefslogtreecommitdiff
path: root/shell/video/sdl
diff options
context:
space:
mode:
authorneonloop2021-03-10 16:53:39 +0000
committerneonloop2021-03-10 16:53:39 +0000
commitadaecd14d484d309e4d9ba2353ae843ab5213aec (patch)
tree92ba55bfc2e06aac66a6f5e1080cc2018815c7dc /shell/video/sdl
parentba054eee2a5f9d7abfaf1fad62c0f77eef1c1da7 (diff)
downloadsnesemu-adaecd14d484d309e4d9ba2353ae843ab5213aec.tar.gz
snesemu-adaecd14d484d309e4d9ba2353ae843ab5213aec.tar.bz2
snesemu-adaecd14d484d309e4d9ba2353ae843ab5213aec.zip
Initial trimui model s support
Diffstat (limited to 'shell/video/sdl')
-rw-r--r--shell/video/sdl/video_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/video/sdl/video_blit.c b/shell/video/sdl/video_blit.c
index 0e489c0..6a8f748 100644
--- a/shell/video/sdl/video_blit.c
+++ b/shell/video/sdl/video_blit.c
@@ -54,7 +54,7 @@ void Init_Video()
SDL_ShowCursor(0);
- sdl_screen = SDL_SetVideoMode(320, 240, 16, SDL_HWSURFACE);
+ sdl_screen = SDL_SetVideoMode(320, 240, 16, SDL_HWSURFACE | SDL_DOUBLEBUF);
backbuffer = SDL_CreateRGBSurface(SDL_SWSURFACE, 320, 240, 16, 0,0,0,0);