Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed Android build
  • Loading branch information
slouken committed Aug 28, 2017
1 parent 24a0d3b commit 82ffabc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/android/SDL_androidvulkan.c
Expand Up @@ -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);
}

Expand All @@ -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;
Expand Down

0 comments on commit 82ffabc

Please sign in to comment.