forked from pyrite-dev/milsko
fix vulkan thing
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@134 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
57cf4839a2
commit
1d0f672630
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#include <vulkan/vulkan_win32.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAS_VK_ENUM_STRING_HELPER
|
||||
#ifdef HAS_VK_ENUM_STRING_HELPER
|
||||
#include <vulkan/vk_enum_string_helper.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ MwVulkanConfig vulkan_config = {
|
|||
#endif
|
||||
|
||||
// convienence macro for handling vulkan errors
|
||||
#ifndef HAS_VK_ENUM_STRING_HELPER
|
||||
#ifdef HAS_VK_ENUM_STRING_HELPER
|
||||
#define VK_CMD(func) \
|
||||
vk_res = func; \
|
||||
if(vk_res != VK_SUCCESS) { \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue