Commit 82ffabc86af5cfd3d68a80c4bfd26408fa59f4c3

Sam Lantinga 2017-08-27T22:34:15

Fixed Android build

diff --git a/src/video/android/SDL_androidvulkan.c b/src/video/android/SDL_androidvulkan.c
index c8e4c88..d7cf5c5 100644
--- a/src/video/android/SDL_androidvulkan.c
+++ b/src/video/android/SDL_androidvulkan.c
@@ -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;