sdl2: software: clear window on mode change

This commit is contained in:
Ronald Kinard 2014-07-23 23:21:19 -05:00
parent 73e99fa96c
commit 4433be194f
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen)
if (rendermode == render_soft)
{
SDL_RenderSetLogicalSize(renderer, width, height);
SDL_RenderClear(renderer);
// Set up Texture
realwidth = width;
realheight = height;