mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 00:55:41 +00:00
OpenGLDevice: Fix framebuffer clear getting delayed
This commit is contained in:
parent
c25c7070b6
commit
45265c474c
|
@ -958,6 +958,9 @@ void OpenGLDevice::SetFramebuffer(GPUFramebuffer* fb)
|
|||
UpdateViewport();
|
||||
UpdateScissor();
|
||||
}
|
||||
|
||||
if (FB)
|
||||
CommitClear(FB);
|
||||
}
|
||||
|
||||
void OpenGLDevice::SetTextureSampler(u32 slot, GPUTexture* texture, GPUSampler* sampler)
|
||||
|
|
Loading…
Reference in a new issue