forked from MoonsideGames/Refresh
MoltenVK support
parent
6e6fec5224
commit
0989e45f88
|
@ -11561,6 +11561,9 @@ static uint8_t VULKAN_INTERNAL_CreateLogicalDevice(
|
||||||
|
|
||||||
static void VULKAN_INTERNAL_LoadEntryPoints(void)
|
static void VULKAN_INTERNAL_LoadEntryPoints(void)
|
||||||
{
|
{
|
||||||
|
/* Required for MoltenVK support */
|
||||||
|
SDL_setenv("MVK_CONFIG_FULL_IMAGE_VIEW_SWIZZLE", "1", 1);
|
||||||
|
|
||||||
/* Load Vulkan entry points */
|
/* Load Vulkan entry points */
|
||||||
if (SDL_Vulkan_LoadLibrary(NULL) < 0)
|
if (SDL_Vulkan_LoadLibrary(NULL) < 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue