Clear renderer on each update
Fixes artifacts showing in the background
This commit is contained in:
parent
7a82b8a90b
commit
124de03d9c
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ void UpdateGuiScreen()
|
|||
vc_dispmanx_element_change_source(updateHandle, gui_element, gui_resource);
|
||||
vc_dispmanx_update_submit_sync(updateHandle);
|
||||
#else
|
||||
SDL_RenderClear(renderer);
|
||||
SDL_UpdateTexture(gui_texture, nullptr, gui_screen->pixels, gui_screen->pitch);
|
||||
if (amiberry_options.rotation_angle == 0 || amiberry_options.rotation_angle == 180)
|
||||
renderQuad = { 0, 0, gui_screen->w, gui_screen->h };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue