aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2019-06-26 10:21:07 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2019-06-26 10:21:07 +0700
commit424c0f9d90b9672337b91d14a9a36d45ece29da6 (patch)
treeb2d8d26d20a7f17c56b7f6d33be1c44944e86a8c
parentfe159f4a37821cb66f8dfed1da51e31800412aff (diff)
Fix typos.
-rw-r--r--README.md4
-rw-r--r--sokol_audio.h4
-rw-r--r--util/sokol_cimgui.h2
-rw-r--r--util/sokol_gfx_cimgui.h2
-rw-r--r--util/sokol_gfx_imgui.h2
-rw-r--r--util/sokol_gl.h4
-rw-r--r--util/sokol_imgui.h2
7 files changed, 10 insertions, 10 deletions
diff --git a/README.md b/README.md
index 0e296f5d..c8f301cf 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ WebAssembly is a 'first-class citizen', one important motivation for the
Sokol headers is to provide a collection of cross-platform APIs with a
minimal footprint on the web platform while still being useful.
-All headers are standalone and can be used indepedendently from each other.
+All headers are standalone and can be used independently from each other.
Sample code is in a separate repo: https://github.com/floooh/sokol-samples
@@ -502,7 +502,7 @@ layout definition in sg_pipeline_desc works:
currently working on (here: https://github.com/floooh/sokol-tools).
While working on getting reflection data out of the shaders (e.g. what
- uniform blocks and textures the shader uses), it occured to me that
+ uniform blocks and textures the shader uses), it occurred to me that
vertex-attribute-names and -semantics are actually part of the reflection
info and belong to the shader, not to the vertex layout in the pipeline
object (which only describes how the incoming vertex data maps to
diff --git a/sokol_audio.h b/sokol_audio.h
index aa0ee56e..837b27a8 100644
--- a/sokol_audio.h
+++ b/sokol_audio.h
@@ -110,7 +110,7 @@
If you want to use the callback-model, you need to provide a stream
callback function either in saudio_desc.stream_cb or saudio_desc.stream_userdata_cb,
- otherwised keep both function pointers zero-initialized.
+ otherwise keep both function pointers zero-initialized.
Use push model and default playback parameters:
@@ -168,7 +168,7 @@
plugging in a bluetooth headset, this case is currently not handled in
Sokol Audio).
- You can check if audio initialization was successfull with
+ You can check if audio initialization was successful with
saudio_isvalid(). If backend initialization failed for some reason
(for instance when there's no audio device in the machine), this
will return false. Not checking for success won't do any harm, all
diff --git a/util/sokol_cimgui.h b/util/sokol_cimgui.h
index e14999da..dd51ac77 100644
--- a/util/sokol_cimgui.h
+++ b/util/sokol_cimgui.h
@@ -22,7 +22,7 @@
SOKOL_CIMGUI_NO_SOKOL_APP - don't depend on sokol_app.h (see below for details)
- Optionally provide the following macros before including the implementatuon
+ Optionally provide the following macros before including the implementation
to override defaults:
SOKOL_ASSERT(c) - your own assert macro (default: assert(c))
diff --git a/util/sokol_gfx_cimgui.h b/util/sokol_gfx_cimgui.h
index 45f3a934..b73be352 100644
--- a/util/sokol_gfx_cimgui.h
+++ b/util/sokol_gfx_cimgui.h
@@ -15,7 +15,7 @@
sokol_gfx.h
- Additionally, include the following files(s) beforing including
+ Additionally, include the following files(s) before including
the implementation of sokol_gfx_imgui.h:
imgui.h
diff --git a/util/sokol_gfx_imgui.h b/util/sokol_gfx_imgui.h
index 87138e60..96b38b26 100644
--- a/util/sokol_gfx_imgui.h
+++ b/util/sokol_gfx_imgui.h
@@ -17,7 +17,7 @@
sokol_gfx.h
- Additionally, include the following files(s) beforing including
+ Additionally, include the following files(s) before including
the implementation of sokol_gfx_imgui.h:
imgui.h
diff --git a/util/sokol_gl.h b/util/sokol_gl.h
index 8d36975c..0a7f2ca2 100644
--- a/util/sokol_gl.h
+++ b/util/sokol_gl.h
@@ -224,7 +224,7 @@
sgl_scale(float x, float y, float z)
NOTE that all angles in sokol-gl are in radians, not in degree.
- Convert between radians and degree with the helper funtions:
+ Convert between radians and degree with the helper functions:
float sgl_rad(float deg) - degrees to radians
float sgl_deg(float rad) - radians to degrees
@@ -315,7 +315,7 @@
...which can return the following error codes:
- SGL_NO_ERROR - all OK, no error occurded since last sgl_draw()
+ SGL_NO_ERROR - all OK, no error occurred since last sgl_draw()
SGL_ERROR_VERTICES_FULL - internal vertex buffer is full (checked in sgl_end())
SGL_ERROR_UNIFORMS_FULL - the internal uniforms buffer is full (checked in sgl_end())
SGL_ERROR_COMMANDS_FULL - the internal command buffer is full (checked in sgl_end())
diff --git a/util/sokol_imgui.h b/util/sokol_imgui.h
index e549397d..085bc4b3 100644
--- a/util/sokol_imgui.h
+++ b/util/sokol_imgui.h
@@ -24,7 +24,7 @@
SOKOL_IMGUI_NO_SOKOL_APP - don't depend on sokol_app.h (see below for details)
- Optionally provide the following macros before including the implementatuon
+ Optionally provide the following macros before including the implementation
to override defaults:
SOKOL_ASSERT(c) - your own assert macro (default: assert(c))