From 594e66704d9d6005c937d7afd4f7a54a90ba47aa Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 8 Aug 2011 23:38:11 +0200 Subject: [PATCH] Allow disabling composition in SDL as well. --- gfx/sdl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/sdl.c b/gfx/sdl.c index e870afe455..a1ff3d26a4 100644 --- a/gfx/sdl.c +++ b/gfx/sdl.c @@ -213,6 +213,10 @@ static void sdl_render_msg_32(sdl_video_t *vid, SDL_Surface *buffer, const char static void* sdl_gfx_init(const video_info_t *video, const input_driver_t **input, void **input_data) { +#ifdef _WIN32 + gfx_set_dwm(); +#endif + SDL_InitSubSystem(SDL_INIT_VIDEO); sdl_video_t *vid = calloc(1, sizeof(*vid));