mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
sdl2: software: clear window on mode change
This commit is contained in:
parent
73e99fa96c
commit
4433be194f
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue