mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 01:55:47 -04:00
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