mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Revert "Temporary hack (see #10163): Ignore the VK_ERROR_INITIALIZATION_FAILED from vkQueueSubmit."
This reverts commit 50cd4a56cb.
This commit is contained in:
1 parent
50cd4a56cb
commit
bfec850933
1 file changed
-2
@@ -794,8 +794,6 @@ void VulkanRenderManager::Submit(int frame, bool triggerFence) {
|
||||
res = vkQueueSubmit(vulkan_->GetGraphicsQueue(), 1, &submit_info, triggerFence ? frameData.fence : VK_NULL_HANDLE);
|
||||
if (res == VK_ERROR_DEVICE_LOST) {
|
||||
_assert_msg_(G3D, false, "Lost the Vulkan device!");
|
||||
} else if (res == VK_ERROR_INITIALIZATION_FAILED) {
|
||||
ERROR_LOG(G3D, "Unexpected error submitting main command buffer: VK_ERROR_INITIALIZATION_FAILED");
|
||||
} else {
|
||||
_assert_msg_(G3D, res == VK_SUCCESS, "vkQueueSubmit failed (main, split=%d)! result=%d", (int)splitSubmit_, (int)res);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user