Merge pull request #111957 from clayjohn/RD-timeout
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:
@ -6591,6 +6591,8 @@ void RenderingDevice::_flush_and_stall_for_all_frames(bool p_begin_frame) {
|
|||||||
|
|
||||||
if (p_begin_frame) {
|
if (p_begin_frame) {
|
||||||
_begin_frame();
|
_begin_frame();
|
||||||
|
} else {
|
||||||
|
_stall_for_frame(frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user