Fixed Android build

Sam Lantinga 2017-08-27 22:34:15 -07:00
parent 24a0d3bc6d
commit 82ffabc86a
1 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ SDL_bool Android_Vulkan_GetInstanceExtensions(_THIS,
return SDL_FALSE;
}
return SDL_Vulkan_GetInstanceExtensions_Helper(
count, names, SDL_arraysize(extensionsForMir),
count, names, SDL_arraysize(extensionsForAndroid),
extensionsForAndroid);
}
@ -150,11 +150,11 @@ SDL_bool Android_Vulkan_CreateSurface(_THIS,
if(!vkCreateAndroidSurfaceKHR)
{
SDL_SetError(VK_KHR_Android_SURFACE_EXTENSION_NAME
SDL_SetError(VK_KHR_ANDROID_SURFACE_EXTENSION_NAME
" extension is not enabled in the Vulkan instance.");
return SDL_FALSE;
}
createInfo.sType = VK_STRUCTURE_TYPE_Android_SURFACE_CREATE_INFO_KHR;
createInfo.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR;
createInfo.pNext = NULL;
createInfo.flags = 0;
createInfo.window = windowData->native_window;