Skip to content
Snippets Groups Projects
Commit 4433be19 authored by Eidolon's avatar Eidolon
Browse files

sdl2: software: clear window on mode change

parent 73e99fa9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment