Skip to content

Commit

Permalink
Fix bkaradzic#2071 again
Browse files Browse the repository at this point in the history
  • Loading branch information
pezcode authored and bkaradzic committed Mar 29, 2020
1 parent 0e8e22b commit be62635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit be62635

Please sign in to comment.