aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-05-19 19:27:16 +0200
committerAndre Weissflog <floooh@gmail.com>2023-05-19 19:27:16 +0200
commit25d138f55e3d05559983fdcbbbd42e6649808f82 (patch)
tree914eae58aaf0b1ce875873ef392cd4718f71deed
parent56e2316ba9b8653443286d63ad403e9cf6d97174 (diff)
sokol_gfx.h: tweak documentation
-rw-r--r--sokol_gfx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index f19dad95..86b21fcd 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -394,10 +394,10 @@
- https://floooh.github.io/sokol-html5/mrt-sapp.html
- https://floooh.github.io/sokol-html5/mrt-pixelformats-sapp.html
- A render pass wraps rendering commands into a set of render target images
+ A render pass wraps rendering commands into a common set of render target images
(called 'pass attachments'). Render target images can be used in subsequent
- passes as textures (commonly called 'offscreen rendering'). It is invalid
- to use the same image both as render target and as texture in the same pass.
+ passes as textures (it is invalid to use the same image both as render target
+ and as texture in the same pass).
The following sokol-gfx functions must be called inside a render pass: