2
0
Эх сурвалжийг харах

Merge pull request #481 from toyboot4e/fix-doc-typos

Fix typos in sokol_gfx.h docs
Andre Weissflog 4 жил өмнө
parent
commit
412b0dc6e8
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      sokol_gfx.h

+ 3 - 3
sokol_gfx.h

@@ -99,17 +99,17 @@
 
     --- start rendering to the default frame buffer with:
 
-            sg_begin_default_pass(const sg_pass_action* actions, int width, int height)
+            sg_begin_default_pass(const sg_pass_action* action, int width, int height)
 
         ...or alternatively with:
 
-            sg_begin_default_passf(const sg_pass_action* actions, float width, float height)
+            sg_begin_default_passf(const sg_pass_action* action, float width, float height)
 
         ...which takes the framebuffer width and height as float values.
 
     --- or start rendering to an offscreen framebuffer with:
 
-            sg_begin_pass(sg_pass pass, const sg_pass_action* actions)
+            sg_begin_pass(sg_pass pass, const sg_pass_action* action)
 
     --- set the pipeline state for the next draw call with: