From 04d05fbdc27270b8177bbc5bac36130ea6b36807 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 20 Jul 2016 15:14:19 +0200 Subject: [PATCH] Formatting --- src/vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan.c b/src/vulkan.c index 3624ba52..586a2593 100644 --- a/src/vulkan.c +++ b/src/vulkan.c @@ -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);