forked from Dynamitos/Seele
adding aftermath debugging and fixing forward plus
This commit is contained in:
1 parent
e00b382d4a
commit
22adb08bfc
40 files changed
+4669
-112
No files matched your search
@@ -8,6 +8,10 @@
|
||||
VkResult res = (f); \
|
||||
if (res != VK_SUCCESS) \
|
||||
{ \
|
||||
if(res == VK_ERROR_DEVICE_LOST) \
|
||||
{ \
|
||||
std::this_thread::sleep_for(std::chrono::seconds(3)); \
|
||||
} \
|
||||
std::cout << "Fatal : VkResult is \"" << res << "\" in " << __FILE__ << " at line " << __LINE__ << std::endl; \
|
||||
assert(res == VK_SUCCESS); \
|
||||
} \
|
||||
|
||||
Reference in new issue
Block a user