mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-17 22:25:37 +00:00
GPU: Update display after loading state
Fixes black frame after switching renderers.
This commit is contained in:
parent
5f0980c684
commit
4e6596adfb
|
@ -140,6 +140,7 @@ bool GPU::DoState(StateWrapper& sw)
|
|||
std::vector<u16> vram;
|
||||
sw.Do(&vram);
|
||||
UpdateVRAM(0, 0, VRAM_WIDTH, VRAM_HEIGHT, vram.data());
|
||||
UpdateDisplay();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -71,6 +71,7 @@ void GPU_HW_OpenGL::UpdateResolutionScale()
|
|||
|
||||
CreateFramebuffer();
|
||||
CompilePrograms();
|
||||
UpdateDisplay();
|
||||
}
|
||||
|
||||
void GPU_HW_OpenGL::DrawRendererStatsWindow()
|
||||
|
|
Loading…
Reference in a new issue