Skip to content

Commit

Permalink
sokol_gfx.h: fix new unused arg warning
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Oct 26, 2024
1 parent 47c9668 commit ff3ece0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sokol_gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ff3ece0

Please sign in to comment.