aboutsummaryrefslogtreecommitdiff
path: root/sokol_gfx.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-12-10 19:53:35 +0100
committerAndre Weissflog <floooh@gmail.com>2025-12-10 19:53:35 +0100
commitc0be2eff2326756324909f3f0151af4a90885a6b (patch)
treefb3b1245bf1d2696d60eb2682e17f22139f63e33 /sokol_gfx.h
parentb91dec0fcbc1d5e07eeafcbddc0c3b5eccd5cbc7 (diff)
sokol_gfx.h wgpu: fix debug build
Diffstat (limited to 'sokol_gfx.h')
-rw-r--r--sokol_gfx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 520d5858..a7cd239a 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -18511,7 +18511,6 @@ _SOKOL_PRIVATE void _sg_wgpu_apply_uniforms(int ub_slot, const sg_range* data) {
SOKOL_ASSERT((ub_slot >= 0) && (ub_slot < SG_MAX_UNIFORMBLOCK_BINDSLOTS));
SOKOL_ASSERT((_sg.wgpu.uniform.offset + data->size) <= _sg.wgpu.uniform.num_bytes);
SOKOL_ASSERT((_sg.wgpu.uniform.offset & (alignment - 1)) == 0);
- SOKOL_ASSERT(data->size == shd->cmn.uniform_blocks[ub_slot].size);
SOKOL_ASSERT(data->size <= _SG_WGPU_MAX_UNIFORM_UPDATE_SIZE);
_sg_stats_inc(wgpu.uniforms.num_set_bindgroup);