test/testvulkan.c
changeset 12151 5b9895d82ebe
parent 11811 5d94cb6b24d3
child 12503 806492103856
     1.1 --- a/test/testvulkan.c	Thu Aug 23 14:05:25 2018 -0700
     1.2 +++ b/test/testvulkan.c	Fri Aug 24 09:49:48 2018 -0400
     1.3 @@ -255,7 +255,7 @@
     1.4      appInfo.apiVersion = VK_API_VERSION_1_0;
     1.5      instanceCreateInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
     1.6      instanceCreateInfo.pApplicationInfo = &appInfo;
     1.7 -    if(!SDL_Vulkan_GetInstanceExtensions(state->windows[0], &extensionCount, NULL))
     1.8 +    if(!SDL_Vulkan_GetInstanceExtensions(NULL, &extensionCount, NULL))
     1.9      {
    1.10          SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
    1.11                       "SDL_Vulkan_GetInstanceExtensions(): %s\n",
    1.12 @@ -268,7 +268,7 @@
    1.13          SDL_OutOfMemory();
    1.14          quit(2);
    1.15      }
    1.16 -    if(!SDL_Vulkan_GetInstanceExtensions(state->windows[0], &extensionCount, extensions))
    1.17 +    if(!SDL_Vulkan_GetInstanceExtensions(NULL, &extensionCount, extensions))
    1.18      {
    1.19          SDL_free((void*)extensions);
    1.20          SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,