GPU/HW: Don't display a deleted texture in D3D/OpenGL when updating settings
This commit is contained in:
@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user