D3D12: Fix shader model check, initialization error handling
This commit is contained in:
parent
037956dbc9
commit
bf6629a005
3 changed files with 8 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue