mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Fix struct member names of Mir WSI
This commit is contained in:
parent
b6a72db2ad
commit
5e5fea2293
|
@ -762,8 +762,8 @@ VkResult _glfwPlatformCreateWindowSurface(VkInstance instance,
|
||||||
|
|
||||||
memset(&sci, 0, sizeof(sci));
|
memset(&sci, 0, sizeof(sci));
|
||||||
sci.sType = VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR;
|
sci.sType = VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR;
|
||||||
sci.display = _glfw.mir.connection;
|
sci.connection = _glfw.mir.connection;
|
||||||
sci.surface = window->mir.surface;
|
sci.mirSurface = window->mir.surface;
|
||||||
|
|
||||||
err = vkCreateMirSurfaceKHR(instance, &sci, allocator, surface);
|
err = vkCreateMirSurfaceKHR(instance, &sci, allocator, surface);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user