Skip to content

Commit 197f18c

Browse files
committed
Update vk::createResultValue according to upstream vulkan.hpp
See [this commit in the GitHub Vulkan-Headers repo](KhronosGroup/Vulkan-Headers@8ba8294#diff-a83f956c7aeb2b6dee7ffa2f249c0d98a2cfad6e157fe8438e372a5267afaeffL5986-R6086) Signed-off-by: Luc Ma <[email protected]>
1 parent 190f081 commit 197f18c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/glfw/glfw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ vk::SurfaceKHR Window::createWindowSurface(GLFWwindow* window, const vk::Instanc
2929
VkSurfaceKHR rawSurface;
3030
vk::Result result =
3131
static_cast<vk::Result>(glfwCreateWindowSurface((VkInstance)instance, window, reinterpret_cast<const VkAllocationCallbacks*>(pAllocator), &rawSurface));
32-
return vk::createResultValue(result, rawSurface, "vk::CommandBuffer::begin");
32+
return vk::createResultValueType(result, rawSurface);
3333
}
3434
#endif
3535

0 commit comments

Comments
 (0)