This commit is contained in:
Reece Wilson 2023-11-03 18:15:11 +00:00
parent 4405b12fa6
commit 8f740ff14e

View File

@ -199,9 +199,6 @@ GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance,
VkSurfaceKHR* surface)
{
_GLFWwindow* window = (_GLFWwindow*)handle;
assert(instance != VK_NULL_HANDLE);
assert(window != NULL);
assert(surface != NULL);
*surface = VK_NULL_HANDLE;
return _glfw.platform.createWindowSurface(instance, window, allocator, surface);
}