Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 893a0e8 commit 10a5a4fCopy full SHA for 10a5a4f
1 file changed
03_Drawing_a_triangle/01_Presentation/00_Window_surface.md
@@ -48,7 +48,7 @@ important parameters: `hwnd` and `hinstance`. These are the handles to the
48
window and the process.
49
50
```c++
51
-VkWin32SurfaceCreateInfoKHR createInfo;
+VkWin32SurfaceCreateInfoKHR createInfo = {};
52
createInfo.sType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR;
53
createInfo.hwnd = glfwGetWin32Window(window);
54
createInfo.hinstance = GetModuleHandle(nullptr);
0 commit comments