Prechádzať zdrojové kódy

Fix a couple of typos.

Bruce Mitchener 1 rok pred
rodič
commit
05fa1c7ebb
3 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 1 1
      sokol_gfx.h
  2. 1 1
      sokol_glue.h
  3. 1 1
      util/sokol_gfx_imgui.h

+ 1 - 1
sokol_gfx.h

@@ -2432,7 +2432,7 @@ typedef struct sg_pass_action {
     as 'type erased' void pointers:
 
     GL: on all GL backends, a GL framebuffer object must be provided. This
-    can be zero for the defaul framebuffer.
+    can be zero for the default framebuffer.
 
     D3D11:
         - an ID3D11RenderTargetView for the rendering surface, without

+ 1 - 1
sokol_glue.h

@@ -43,7 +43,7 @@
         functions. Use this in the sg_setup() call like this:
 
         sg_setup(&(sg_desc){
-            .environment = sglue_enviornment(),
+            .environment = sglue_environment(),
             ...
         });
 

+ 1 - 1
util/sokol_gfx_imgui.h

@@ -2155,7 +2155,7 @@ _SOKOL_PRIVATE sgimgui_str_t _sgimgui_capture_item_string(sgimgui_t* ctx, int in
         case SGIMGUI_CMD_UNINIT_ATTACHMENTS:
             {
                 sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.uninit_attachments.attachments);
-                _sgimgui_snprintf(&str, "%d: sg_uninit_attachemnts(atts=%s)", index, res_id.buf);
+                _sgimgui_snprintf(&str, "%d: sg_uninit_attachments(atts=%s)", index, res_id.buf);
             }
             break;