This commit is contained in:
Pablo Escobar 2020-03-29 16:33:06 +02:00 committed by Бранимир Караџић
parent 0e8e22b049
commit be626359f9

View File

@ -4104,7 +4104,7 @@ VK_IMPORT_DEVICE
);
}
}
while ((result == VK_ERROR_OUT_OF_HOST_MEMORY || result == VK_ERROR_OUT_OF_DEVICE_MEMORY) && searchIndex >= 0);
while (result != VK_SUCCESS && searchIndex >= 0);
return result;
}