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.
 
-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
 in sokol_gfx.h as well:
 

+ 2 - 2
sokol_app.h

@@ -767,7 +767,7 @@
     A `programmatic quit` initiated by calling sapp_quit() or
     sapp_request_quit() will work as described above: the cleanup callback is
     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
     web page itself will continue to exist (e.g. it's not possible to
     programmatically close the browser tab).
@@ -926,7 +926,7 @@
           append a new favicon link element, but not delete any manually
           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.
 
     ONSCREEN KEYBOARD

+ 1 - 1
sokol_args.h

@@ -33,7 +33,7 @@
     sokol_args.h provides a simple unified argument parsing API for WebAssembly and
     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
 

+ 1 - 1
sokol_log.h

@@ -122,7 +122,7 @@ extern "C" {
 #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:
 
     saudio_setup(&(saudio_desc){

+ 5 - 5
util/sokol_spine.h

@@ -126,7 +126,7 @@
     ==========================
     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()
         - 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()
@@ -424,7 +424,7 @@
         sspine_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
       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(ctx, ...)
 
-    These explicitely take a context argument, completely ignore
+    These explicitly take a context argument, completely ignore
     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);
 
@@ -604,7 +604,7 @@
         - SSPINE_RESOURCE_VALID: the object is valid and ready to use
         - SSPINE_RESOURCE_FAILED: the object creation has failed
         - 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
 
     MISC HELPER FUNCTIONS: