diff --git a/src/util/opengl_device.cpp b/src/util/opengl_device.cpp index dce4366e8..66d090925 100644 --- a/src/util/opengl_device.cpp +++ b/src/util/opengl_device.cpp @@ -958,6 +958,9 @@ void OpenGLDevice::SetFramebuffer(GPUFramebuffer* fb) UpdateViewport(); UpdateScissor(); } + + if (FB) + CommitClear(FB); } void OpenGLDevice::SetTextureSampler(u32 slot, GPUTexture* texture, GPUSampler* sampler)