Index: tools/vulkan/android/VulkanTestContext_android.cpp |
diff --git a/tools/vulkan/android/VulkanTestContext_android.cpp b/tools/vulkan/android/VulkanTestContext_android.cpp |
index ea6b4288c02d1d19aea6737d79887e5a4d6ee607..58dbcb2843d84b590c4b68389de6e776cbe2c9c5 100644 |
--- a/tools/vulkan/android/VulkanTestContext_android.cpp |
+++ b/tools/vulkan/android/VulkanTestContext_android.cpp |
@@ -32,7 +32,7 @@ VkSurfaceKHR VulkanTestContext::createVkSurface(VkInstance instance, void* platf |
surfaceCreateInfo.flags = 0; |
surfaceCreateInfo.window = androidPlatformData->fNativeWindow; |
- VkResult res = createAndroidSurfaceKHR(fBackendContext->fInstance, &surfaceCreateInfo, |
+ VkResult res = createAndroidSurfaceKHR(instance, &surfaceCreateInfo, |
nullptr, &surface); |
return (VK_SUCCESS == res) ? surface : VK_NULL_HANDLE; |
} |