mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
not a good fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@135 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -12,7 +12,17 @@
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#ifdef HAS_VK_ENUM_STRING_HELPER
|
||||
#include <vulkan/vk_enum_string_helper.h>
|
||||
#else
|
||||
char buffer[512];
|
||||
|
||||
char* string_VkResult(VkResult res) {
|
||||
sprintf(buffer, "%d", res);
|
||||
|
||||
return &buffer[0];
|
||||
}
|
||||
#endif
|
||||
|
||||
MwWidget window, vulkan;
|
||||
int ow = 300;
|
||||
|
||||
Reference in New Issue
Block a user