File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ The first two parameters specify the number of indices and the number of instanc
144144We're not using instancing, so just specify `1` instance.
145145The number of indices represents the number of vertices that will be passed to the vertex shader.
146146The next parameter specifies an offset into the index buffer, using a value of `1` would cause the graphics card to start reading at the second index.
147- The second to last parameter specifies an offset to add to the indices in the index buffer.
147+ The second to last parameter specifies an offset to add to the vertex index before indexing into the vertex buffer.
148148The final parameter specifies an offset for instancing, which we're not using.
149149
150150Now run your program and you should see the following:
You can’t perform that action at this time.
0 commit comments