瀏覽代碼

Fix typos.

Bruce Mitchener 1 年之前
父節點
當前提交
1b0a350850
共有 5 個文件被更改,包括 10 次插入10 次删除
  1. 1 1
      CHANGELOG.md
  2. 2 2
      sokol_app.h
  3. 1 1
      sokol_args.h
  4. 1 1
      sokol_log.h
  5. 5 5
      util/sokol_spine.h

+ 1 - 1
CHANGELOG.md

@@ -329,7 +329,7 @@ The main topic of this update is to separate sampler state from image state in
 sokol_gfx.h which became possible after GLES2 support had been removed from
 sokol_gfx.h which became possible after GLES2 support had been removed from
 sokol_gfx.h.
 sokol_gfx.h.
 
 
-This also causes some 'colateral changes' in shader authoring and
+This also causes some 'collateral changes' in shader authoring and
 other sokol headers, but there was opportunity to fill a few feature gaps
 other sokol headers, but there was opportunity to fill a few feature gaps
 in sokol_gfx.h as well:
 in sokol_gfx.h as well:
 
 

+ 2 - 2
sokol_app.h

@@ -767,7 +767,7 @@
     A `programmatic quit` initiated by calling sapp_quit() or
     A `programmatic quit` initiated by calling sapp_quit() or
     sapp_request_quit() will work as described above: the cleanup callback is
     sapp_request_quit() will work as described above: the cleanup callback is
     called, platform-specific cleanup is performed (on the web
     called, platform-specific cleanup is performed (on the web
-    this means that JS event handlers are unregisters), and then
+    this means that JS event handlers are unregistered), and then
     the request-animation-loop will be exited. However that's all. The
     the request-animation-loop will be exited. However that's all. The
     web page itself will continue to exist (e.g. it's not possible to
     web page itself will continue to exist (e.g. it's not possible to
     programmatically close the browser tab).
     programmatically close the browser tab).
@@ -926,7 +926,7 @@
           append a new favicon link element, but not delete any manually
           append a new favicon link element, but not delete any manually
           defined favicon in the page
           defined favicon in the page
 
 
-    For an example and test of the window icon feature, check out the the
+    For an example and test of the window icon feature, check out the
     'icon-sapp' sample on the sokol-samples git repository.
     'icon-sapp' sample on the sokol-samples git repository.
 
 
     ONSCREEN KEYBOARD
     ONSCREEN KEYBOARD

+ 1 - 1
sokol_args.h

@@ -33,7 +33,7 @@
     sokol_args.h provides a simple unified argument parsing API for WebAssembly and
     sokol_args.h provides a simple unified argument parsing API for WebAssembly and
     native apps.
     native apps.
 
 
-    When running as WebAssembly app, arguments are taken from the page URL:
+    When running as a WebAssembly app, arguments are taken from the page URL:
 
 
         https://floooh.github.io/tiny8bit/kc85.html?type=kc85_3&mod=m022&snapshot=kc85/jungle.kcc
         https://floooh.github.io/tiny8bit/kc85.html?type=kc85_3&mod=m022&snapshot=kc85/jungle.kcc
 
 

+ 1 - 1
sokol_log.h

@@ -122,7 +122,7 @@ extern "C" {
 #endif
 #endif
 
 
 /*
 /*
-    Plug this function into the 'logger.func' struct item when initializating any of the sokol
+    Plug this function into the 'logger.func' struct item when initializing any of the sokol
     headers. For instance for sokol_audio.h it would loom like this:
     headers. For instance for sokol_audio.h it would loom like this:
 
 
     saudio_setup(&(saudio_desc){
     saudio_setup(&(saudio_desc){

+ 5 - 5
util/sokol_spine.h

@@ -126,7 +126,7 @@
     ==========================
     ==========================
     During initialization:
     During initialization:
 
 
-        - call sspine_setup() after initializating sokol-gfx
+        - call sspine_setup() after initializing sokol-gfx
         - create an atlas object from a Spine atlas file with sspine_make_atlas()
         - create an atlas object from a Spine atlas file with sspine_make_atlas()
         - load and initialize the sokol-gfx image objects referenced by the atlas
         - load and initialize the sokol-gfx image objects referenced by the atlas
         - create a skeleton object from a Spine skeleton file with sspine_make_skeleton()
         - create a skeleton object from a Spine skeleton file with sspine_make_skeleton()
@@ -424,7 +424,7 @@
         sspine_shutdown();
         sspine_shutdown();
         sg_shutdown();
         sg_shutdown();
 
 
-    - You can explicitely destroy the base object types if you don't need them
+    - You can explicitly destroy the base object types if you don't need them
       any longer. This will cause the underlying spine-c objects to be
       any longer. This will cause the underlying spine-c objects to be
       freed and the memory to be returned to the operating system:
       freed and the memory to be returned to the operating system:
 
 
@@ -578,10 +578,10 @@
         - sspine_context_draw_layer_in_instance(ctx, ...)
         - sspine_context_draw_layer_in_instance(ctx, ...)
         - sspine_context_draw_layer(ctx, ...)
         - sspine_context_draw_layer(ctx, ...)
 
 
-    These explicitely take a context argument, completely ignore
+    These explicitly take a context argument, completely ignore
     and don't change the active context.
     and don't change the active context.
 
 
-    You can query some information about the a context with the function:
+    You can query some information about a context with the function:
 
 
         sspine_context_info info = ssgpine_get_context_info(ctx);
         sspine_context_info info = ssgpine_get_context_info(ctx);
 
 
@@ -604,7 +604,7 @@
         - SSPINE_RESOURCE_VALID: the object is valid and ready to use
         - SSPINE_RESOURCE_VALID: the object is valid and ready to use
         - SSPINE_RESOURCE_FAILED: the object creation has failed
         - SSPINE_RESOURCE_FAILED: the object creation has failed
         - SSPINE_RESOURCE_INVALID: the object or one of its dependencies is
         - SSPINE_RESOURCE_INVALID: the object or one of its dependencies is
-          invalid, it either no longer exists, or the the handle hasn't been
+          invalid, it either no longer exists, or the handle hasn't been
           initialized with a call to one of the object creation functions
           initialized with a call to one of the object creation functions
 
 
     MISC HELPER FUNCTIONS:
     MISC HELPER FUNCTIONS: