OpenGLDevice: Fix framebuffer clear getting delayed

This commit is contained in:
Stenzek 2023-09-20 21:36:22 +10:00
parent c25c7070b6
commit 45265c474c

View file

@ -958,6 +958,9 @@ void OpenGLDevice::SetFramebuffer(GPUFramebuffer* fb)
UpdateViewport();
UpdateScissor();
}
if (FB)
CommitClear(FB);
}
void OpenGLDevice::SetTextureSampler(u32 slot, GPUTexture* texture, GPUSampler* sampler)