Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f9af29

Browse files
authored
Update 00_Window_surface.md
1 parent ce2473e commit 4f9af29

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

en/03_Drawing_a_triangle/01_Presentation/00_Window_surface.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ window and the process.You need to define VK_USE_PLATFORM_WIN32_KHR before
4949
including vulkan header file. Because include vulkan header file we define it
5050
before including glfw header.
5151

52-
```#define GLFW_INCLUDE_VULKAN
52+
```
53+
#define VK_USE_PLATFORM_WIN32_KHR
54+
#define GLFW_INCLUDE_VULKAN
5355
#include <GLFW/glfw3.h>
5456
```
5557

0 commit comments

Comments
 (0)