diff options
-rw-r--r-- | doc/api.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api.texi b/doc/api.texi index 9bdb48a..dd22341 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -2779,7 +2779,7 @@ into the buffer. To provided a typed view into a buffer, the To render a square, the GPU needs to draw two triangles, which means we need 6 vertices in total. However, the above buffer only contains -data for 4 vertices. This is becase there are only 4 unique vertices +data for 4 vertices. This is because there are only 4 unique vertices for a square, but 2 of them must be repeated for each triangle. To work with deduplicated vertex data, an ``index buffer'' must be created. |