You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
D3D12: Fix shader model check, initialization error handling
This commit is contained in:
@@ -1575,7 +1575,9 @@ void RenderingDeviceGraph::initialize(RDD *p_driver, RenderingContextDriver::Dev
|
||||
}
|
||||
|
||||
void RenderingDeviceGraph::finalize() {
|
||||
_wait_for_secondary_command_buffer_tasks();
|
||||
if (!frames.is_empty()) {
|
||||
_wait_for_secondary_command_buffer_tasks();
|
||||
}
|
||||
|
||||
for (Frame &f : frames) {
|
||||
for (SecondaryCommandBuffer &secondary : f.secondary_command_buffers) {
|
||||
|
||||
Reference in New Issue
Block a user