Skip to content

Commit 6642929

Browse files
committed
Fix another compile error
1 parent ac10877 commit 6642929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/window/sdl2/sdl2_display_window.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ std::vector<std::string> SDL2DisplayWindow::GetVulkanInstanceExtensions()
9393
VkSurfaceKHR SDL2DisplayWindow::CreateVulkanSurface(VkInstance instance)
9494
{
9595
VkSurfaceKHR surfaceHandle = {};
96-
SDL_Vulkan_CreateSurface(window, instance, &surfaceHandle);
96+
SDL_Vulkan_CreateSurface(Handle.window, instance, &surfaceHandle);
9797
if (surfaceHandle)
9898
throw std::runtime_error("Could not create vulkan surface");
9999
return surfaceHandle;

0 commit comments

Comments
 (0)