diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2020-03-19 20:40:43 +0700 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2020-03-19 20:40:43 +0700 |
| commit | ccd5eb707deb2494848342a5a9f3b4cc3727d854 (patch) | |
| tree | 1ddbc0a6fe9f088690c7faa0c8c79a544982687f | |
| parent | 82707c2dd90b4086341c7e4171909cf0bb2753bb (diff) | |
Fix typos.
| -rw-r--r-- | sokol_app.h | 2 | ||||
| -rw-r--r-- | sokol_gfx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sokol_app.h b/sokol_app.h index 4ff282b8..6203029e 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -832,7 +832,7 @@ SOKOL_API_DECL sapp_desc sapp_query_desc(void); SOKOL_API_DECL void sapp_request_quit(void); /* cancel a pending quit (when SAPP_EVENTTYPE_QUIT_REQUESTED has been received) */ SOKOL_API_DECL void sapp_cancel_quit(void); -/* intiate a "hard quit" (quit application without sending SAPP_EVENTTYPE_QUIT_REQUSTED) */ +/* initiate a "hard quit" (quit application without sending SAPP_EVENTTYPE_QUIT_REQUSTED) */ SOKOL_API_DECL void sapp_quit(void); /* call from inside event callback to consume the current event (don't forward to platform) */ SOKOL_API_DECL void sapp_consume_event(void); diff --git a/sokol_gfx.h b/sokol_gfx.h index 2f881325..b6ad52c1 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -1637,7 +1637,7 @@ typedef struct sg_shader_desc { .buffer_index 0 the vertex buffer bind slot .offset 0 (offsets can be omitted if the vertex layout has no gaps) .format SG_VERTEXFORMAT_INVALID (must be initialized!) - .shader: 0 (must be intilized with a valid sg_shader id!) + .shader: 0 (must be initialized with a valid sg_shader id!) .primitive_type: SG_PRIMITIVETYPE_TRIANGLES .index_type: SG_INDEXTYPE_NONE .depth_stencil: |