build fix apple

This commit is contained in:
János Turánszki
2026-01-29 11:40:58 +01:00
parent fa96c64fe5
commit 5c29fdbc61
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -2406,7 +2406,7 @@ using namespace vulkan_internal;
if (mutable_descriptor_features.mutableDescriptorType == VK_FALSE)
{
// On GTX 1070 the support is not found, but this extension does work so I will attempt to use it anyway
wilog_warning("VK_EXT_mutable_descriptor_type support is missing! Trying to use it anyway!");
wilog("VK_EXT_mutable_descriptor_type support is missing! Trying to use it anyway!");
}
// Init adapter properties
@@ -3433,6 +3433,8 @@ using namespace vulkan_internal;
wilog_messagebox("Error creating a vulkan surface with SDL_Vulkan_CreateSurface!");
wi::platform::Exit();
}
#elif defined(__APPLE__)
wilog("Vulkan surface on Apple platform is not yet implemented");
#else
#error WICKEDENGINE VULKAN DEVICE ERROR: PLATFORM NOT SUPPORTED
#endif // _WIN32
+1 -1
View File
@@ -2,7 +2,7 @@
#include "CommonInclude.h"
#include "wiPlatform.h"
#if defined(PLATFORM_WINDOWS_DESKTOP) || defined(PLATFORM_LINUX)
#if defined(PLATFORM_WINDOWS_DESKTOP) || defined(PLATFORM_LINUX) || defined(PLATFORM_APPLE)
#define WICKEDENGINE_BUILD_VULKAN
#endif // PLATFORM_WINDOWS_DESKTOP || PLATFORM_LINUX