Skip to content

Commit

Permalink
Fix multiple windows handling (#3162)
Browse files Browse the repository at this point in the history
  • Loading branch information
belegdol authored Aug 22, 2023
1 parent 12d6f20 commit c181222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6785,7 +6785,7 @@ VK_DESTROY
sci.pNext = NULL;
sci.flags = 0;
sci.display = (wl_display*)g_platformData.ndt;
sci.surface = (wl_surface*)((wl_egl_window*)g_platformData.nwh)->surface;
sci.surface = (wl_surface*)((wl_egl_window*)m_nwh)->surface;
result = vkCreateWaylandSurfaceKHR(instance, &sci, allocatorCb, &m_surface);
}
else
Expand Down

0 comments on commit c181222

Please sign in to comment.