mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Clear intermediate buffers when not in use in Compatibility
This commit is contained in:
parent
b7c5fcaf1e
commit
a88c54a5c7
1 changed files with 4 additions and 0 deletions
|
@ -200,6 +200,10 @@ void RenderSceneBuffersGLES3::_check_render_buffers() {
|
|||
uint32_t depth_format_size = 4;
|
||||
bool use_multiview = view_count > 1;
|
||||
|
||||
if (!use_internal_buffer && internal3d.color != 0) {
|
||||
_clear_intermediate_buffers();
|
||||
}
|
||||
|
||||
if ((!use_internal_buffer || internal3d.color != 0) && (msaa3d.mode == RS::VIEWPORT_MSAA_DISABLED || msaa3d.color != 0)) {
|
||||
// already setup!
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue