1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Fix struct member names of Mir WSI

This commit is contained in:
Camilla Berglund 2016-02-18 14:48:33 +01:00
parent b6a72db2ad
commit 5e5fea2293

View File

@ -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)