diff --git a/sdl/sdl2/main.c b/sdl/sdl2/main.c index 6121f71..fb42b68 100644 --- a/sdl/sdl2/main.c +++ b/sdl/sdl2/main.c @@ -150,7 +150,7 @@ static int sdl_video_init() } sdl_video.window = SDL_CreateWindow("Genesis Plus GX", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, VIDEO_WIDTH, VIDEO_HEIGHT, fullscreen); sdl_video.surf_screen = SDL_GetWindowSurface(sdl_video.window); - sdl_video.surf_bitmap = SDL_CreateRGBSurfaceWithFormat(SDL_SWSURFACE, 720, 576, SDL_BITSPERPIXEL(surface_format), surface_format); + sdl_video.surf_bitmap = SDL_CreateRGBSurfaceWithFormat(0, 720, 576, SDL_BITSPERPIXEL(surface_format), surface_format); sdl_video.frames_rendered = 0; SDL_ShowCursor(0); return 1;