added swapchain

This commit is contained in:
2025-08-21 20:51:27 +03:00
parent 9816455d31
commit a772ab51de
3 changed files with 108 additions and 18 deletions

View File

@@ -10,10 +10,10 @@
#define REQUIRED_EXTENSION(ext) bool bIsSupported_##ext;
#define OPTIONAL_EXTENSION(ext) bool bIsSupported_##ext;
struct SupportedVulkanExtensions_t
extern struct SupportedVulkanExtensions_t
{
#include "device_extensions.h"
};
} g_vkAvailableExtensions;
#undef REQUIRED_EXTENSION
#undef OPTIONAL_EXTENSION
@@ -52,6 +52,6 @@ extern IVkCommandBuffer *vkcommandbuffer;
#define VULKAN_RESULT_PRINT(r, func) \
if (r != VK_SUCCESS) \
Plat_FatalErrorFunc(#func " failed: %s\n", string_VkResult(r));
Plat_FatalErrorFunc(#func " failed: %s\n", string_VkResult(r))
#endif