diff --git a/src/core/gpu_hw_d3d11.cpp b/src/core/gpu_hw_d3d11.cpp index 9a7358bf3..9acef095f 100644 --- a/src/core/gpu_hw_d3d11.cpp +++ b/src/core/gpu_hw_d3d11.cpp @@ -122,7 +122,10 @@ void GPU_HW_D3D11::UpdateSettings() UpdateHWSettings(&needs_new_framebuffer, &needs_new_shaders); if (needs_new_framebuffer) + { + m_host_display->ClearDisplayTexture(); CreateFramebuffer(); + } if (needs_new_shaders) CompileShaders(); diff --git a/src/core/gpu_hw_opengl.cpp b/src/core/gpu_hw_opengl.cpp index 55c328f63..592d1ec52 100644 --- a/src/core/gpu_hw_opengl.cpp +++ b/src/core/gpu_hw_opengl.cpp @@ -126,7 +126,10 @@ void GPU_HW_OpenGL::UpdateSettings() UpdateHWSettings(&framebuffer_changed, &shaders_changed); if (framebuffer_changed) + { + m_host_display->ClearDisplayTexture(); CreateFramebuffer(); + } if (shaders_changed) CompilePrograms();