mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Sync final frame after finalizing RD to ensure that nothing is in use on the GPU when we free the RD
This commit is contained in:
parent
5950fca36c
commit
bad8f531a8
1 changed files with 2 additions and 0 deletions
|
|
@ -6591,6 +6591,8 @@ void RenderingDevice::_flush_and_stall_for_all_frames(bool p_begin_frame) {
|
|||
|
||||
if (p_begin_frame) {
|
||||
_begin_frame();
|
||||
} else {
|
||||
_stall_for_frame(frame);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue