aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-10-26 19:24:56 +0200
committerAndre Weissflog <floooh@gmail.com>2024-10-26 19:24:56 +0200
commitff3ece010c22a138f789b5c970ee77fe25828cfd (patch)
tree0a10a4035f9b7c1e6c2c5d4c815c24ba79f15c91
parent47c96680ebfa440a7b7e147dd06c85c6fe9b6841 (diff)
sokol_gfx.h: fix new unused arg warning
-rw-r--r--sokol_gfx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 1c010d3c..1122ff84 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -6668,6 +6668,7 @@ _SOKOL_PRIVATE void _sg_dummy_discard_shader(_sg_shader_t* shd) {
_SOKOL_PRIVATE sg_resource_state _sg_dummy_create_pipeline(_sg_pipeline_t* pip, _sg_shader_t* shd, const sg_pipeline_desc* desc) {
SOKOL_ASSERT(pip && desc);
+ _SOKOL_UNUSED(desc);
pip->shader = shd;
return SG_RESOURCESTATE_VALID;
}