From 521550dad780b1f5bb32a3739b7f1d92984c9ff6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 8 Apr 2020 17:05:14 -0400 Subject: doc: Fix typo. --- doc/api.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.3