diff options
Diffstat (limited to '')
-rw-r--r-- | engine/xe_model.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/xe_model.cpp b/engine/xe_model.cpp index 49d4c9d..a891d5f 100644 --- a/engine/xe_model.cpp +++ b/engine/xe_model.cpp @@ -53,6 +53,7 @@ void Model::deleteModel(Model* model) { void Model::submitDeleteQueue(bool purge) { for(Model* model: DELETION_QUEUE) { + vkDeviceWaitIdle(model->xeDevice.device()); try { delete model; } catch(int err) {}; } DELETION_QUEUE.clear(); |