修改完了,还报警告。 先保存

This commit is contained in:
xsl
2025-10-17 18:10:23 +08:00
parent a392206f96
commit 95b080cd01
3 changed files with 89 additions and 68 deletions
+8 -8
View File
@@ -1,14 +1,14 @@
#ifndef VULKAN_UTILS_H
#define VULKAN_UTILS_H
#define VK_CHECK(x) \
do \
{ \
VkResult err = x; \
if (err) \
{ \
assert(false); \
} \
#define VK_CHECK(x) \
do \
{ \
VkResult err = x; \
if (err) \
{ \
assert(false); \
} \
} while (0)
#ifdef _WIN32