Closed Calinou closed 1 year ago
Your code contains a small mistake:
VkBuffer vertexBuffers[] = { &vertexBuffer };
The &
should not be there and isn't in the original tutorial code.
Your code contains a small mistake:
VkBuffer vertexBuffers[] = { &vertexBuffer };
The
&
should not be there and isn't in the original tutorial code.
I see, it works with the &
removed :slightly_smiling_face: Thanks!
In Vertex buffer creation, I had to change the following for the code to build (and successfully display a triangle with no validation errors):
With the original code, I get this error:
Is this something that changed in the Vulkan specification? I'm using GCC 13.1.1 on Linux (using Meson configured in C++20).
You can see my full code here: https://github.com/Calinou/vulkan-tutorial