aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-01-30 18:10:58 +0100
committerAndre Weissflog <floooh@gmail.com>2025-01-30 18:10:58 +0100
commitf982d1817358df95ee843cbca991ee893634b2a7 (patch)
tree0c0b97d8603508a631dfeccb076575589fccf486
parentdd3c869e7daa2e35c0ba5bc107af412c262cd8e7 (diff)
sokol_gfx.h mtl: fix unused parameter warning
-rw-r--r--sokol_gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 36abb484..c3b11d62 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -13322,7 +13322,7 @@ _SOKOL_PRIVATE void _sg_mtl_bind_uniform_buffers(void) {
}
_SOKOL_PRIVATE void _sg_mtl_begin_compute_pass(const sg_pass* pass) {
- SOKOL_ASSERT(pass);
+ SOKOL_ASSERT(pass); (void)pass;
SOKOL_ASSERT(nil != _sg.mtl.cmd_buffer);
SOKOL_ASSERT(nil == _sg.mtl.compute_cmd_encoder);
SOKOL_ASSERT(nil == _sg.mtl.render_cmd_encoder);