Fixed Android build
authorSam Lantinga <slouken@libsdl.org>
Sun, 27 Aug 2017 22:34:15 -0700
changeset 113742f2558b2ebcf
parent 11373 1a70b29cbb7b
child 11375 2dd1cac9e43a
Fixed Android build
src/video/android/SDL_androidvulkan.c
     1.1 --- a/src/video/android/SDL_androidvulkan.c	Sun Aug 27 22:27:45 2017 -0700
     1.2 +++ b/src/video/android/SDL_androidvulkan.c	Sun Aug 27 22:34:15 2017 -0700
     1.3 @@ -123,7 +123,7 @@
     1.4          return SDL_FALSE;
     1.5      }
     1.6      return SDL_Vulkan_GetInstanceExtensions_Helper(
     1.7 -            count, names, SDL_arraysize(extensionsForMir),
     1.8 +            count, names, SDL_arraysize(extensionsForAndroid),
     1.9              extensionsForAndroid);
    1.10  }
    1.11  
    1.12 @@ -150,11 +150,11 @@
    1.13  
    1.14      if(!vkCreateAndroidSurfaceKHR)
    1.15      {
    1.16 -        SDL_SetError(VK_KHR_Android_SURFACE_EXTENSION_NAME
    1.17 +        SDL_SetError(VK_KHR_ANDROID_SURFACE_EXTENSION_NAME
    1.18                       " extension is not enabled in the Vulkan instance.");
    1.19          return SDL_FALSE;
    1.20      }
    1.21 -    createInfo.sType = VK_STRUCTURE_TYPE_Android_SURFACE_CREATE_INFO_KHR;
    1.22 +    createInfo.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR;
    1.23      createInfo.pNext = NULL;
    1.24      createInfo.flags = 0;
    1.25      createInfo.window = windowData->native_window;