aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-06-07 19:00:45 +0200
committerAndre Weissflog <floooh@gmail.com>2025-06-07 19:00:45 +0200
commit03bd93bf83a60ffca67165ec2d75ce6fe6d174ab (patch)
tree794d94a925aeb26d8094cc7d2e7d20945b3c6281
parentacd799d120d259f74a01a47f5badcd6556d863a8 (diff)
sokol_gfx.h d3d11: silence unused warning in release build
-rw-r--r--sokol_gfx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index e3f71aa7..93862fe1 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -12839,6 +12839,7 @@ _SOKOL_PRIVATE void _sg_d3d11_discard_pipeline(_sg_pipeline_t* pip) {
_SOKOL_PRIVATE sg_resource_state _sg_d3d11_create_attachments(_sg_attachments_t* atts, const sg_attachments_desc* desc) {
SOKOL_ASSERT(atts && desc);
SOKOL_ASSERT(_sg.d3d11.dev);
+ _SOKOL_UNUSED(desc);
// create render-target views
for (int i = 0; i < atts->cmn.num_colors; i++) {