@ -269,8 +269,8 @@ GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance,
{
_GLFWwindow* window = (_GLFWwindow*) handle;
assert(window != NULL);
assert(surface != NULL);
*surface = VK_NULL_HANDLE;
_GLFW_REQUIRE_INIT_OR_RETURN(VK_ERROR_INITIALIZATION_FAILED);