summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-04-08 17:05:14 -0400
committerDavid Thompson <dthompson2@worcester.edu>2020-04-08 17:05:14 -0400
commit521550dad780b1f5bb32a3739b7f1d92984c9ff6 (patch)
tree359d15347d937cc2c1cf6078775dec9a9c31f471 /doc/api.texi
parentc256f4a4c619bd0f7c410550e4569f4d2b5e2653 (diff)
doc: Fix typo.
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi2
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.