Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ necessary.
Now with the above done, we can generate the static files. Asuming the daux.io
and VulkanTutorial directories are next to each other, go into the `daux.io`
directory and run a command similar to:
`php generate -s ../VulkanTutorial -d ../VulkanTutorial/out`.
`daux generate -s ../VulkanTutorial -d ../VulkanTutorial/out`.

`-s` tells it where to find the documentation, while `-d` tells it where to put
the generated files.
Expand Down
10 changes: 8 additions & 2 deletions en/03_Drawing_a_triangle/00_Setup/00_Base_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,14 @@ disable it for now with another window hint call:
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
```

All that's left now is creating the actual window. Add a `GLFWwindow* window;`
private class member to store a reference to it and initialize the window with:
All that's left now is creating the actual window. Add a private class member to store a reference to it:

```c++
private:
GLFWwindow* window;
```

Initialize the window with

```c++
window = glfwCreateWindow(800, 600, "Vulkan", nullptr, nullptr);
Expand Down