MoltenVK support
continuous-integration/drone/push Build is passing Details

pull/48/head
Evan Hemsley 2023-10-14 22:14:00 -07:00
parent 6e6fec5224
commit 0989e45f88
1 changed files with 3 additions and 0 deletions

View File

@ -11561,6 +11561,9 @@ static uint8_t VULKAN_INTERNAL_CreateLogicalDevice(
static void VULKAN_INTERNAL_LoadEntryPoints(void)
{
/* Required for MoltenVK support */
SDL_setenv("MVK_CONFIG_FULL_IMAGE_VIEW_SWIZZLE", "1", 1);
/* Load Vulkan entry points */
if (SDL_Vulkan_LoadLibrary(NULL) < 0)
{