diff options
| author | Stian H. Johannesen <stianhj@gmail.com> | 2025-07-25 16:27:27 +0200 |
|---|---|---|
| committer | Stian H. Johannesen <stianhj@gmail.com> | 2025-07-25 16:29:29 +0200 |
| commit | 23975003bca6f2d3865530fb0d32ac124db60bcc (patch) | |
| tree | 3b39e2a6a90bfde34e4982f0e9e9608009593ec7 | |
| parent | 36f791d4edc8f1d41ca6a3c47344b12491a4db5f (diff) | |
remove references to sg_begin_default_pass
| -rw-r--r-- | sokol_gfx.h | 4 | ||||
| -rw-r--r-- | util/sokol_spine.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h index d3873b67..231ec586 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -254,8 +254,8 @@ Both sg_apply_viewport() and sg_apply_scissor_rect() must be called inside a rendering pass (e.g. not in a compute pass, or outside a pass) - Note that sg_begin_default_pass() and sg_begin_pass() will reset both the - viewport and scissor rectangles to cover the entire framebuffer. + Note that sg_begin_pass() will reset both the viewport and scissor + rectangles to cover the entire framebuffer. --- to update (overwrite) the content of buffer and image resources, call: diff --git a/util/sokol_spine.h b/util/sokol_spine.h index 1529774a..da488178 100644 --- a/util/sokol_spine.h +++ b/util/sokol_spine.h @@ -383,7 +383,7 @@ const sspine_layer_transform tform = { ... }; - sg_begin_default_pass(...); + sg_begin_pass(...); sspine_draw_layer(0, tform); sg_end_pass(); sg_commit(); |