OpenGLDevice: Fix framebuffer clear getting delayed
This commit is contained in:
@@ -958,6 +958,9 @@ void OpenGLDevice::SetFramebuffer(GPUFramebuffer* fb)
|
|||||||
UpdateViewport();
|
UpdateViewport();
|
||||||
UpdateScissor();
|
UpdateScissor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (FB)
|
||||||
|
CommitClear(FB);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OpenGLDevice::SetTextureSampler(u32 slot, GPUTexture* texture, GPUSampler* sampler)
|
void OpenGLDevice::SetTextureSampler(u32 slot, GPUTexture* texture, GPUSampler* sampler)
|
||||||
|
|||||||
Reference in New Issue
Block a user