aboutsummaryrefslogtreecommitdiff
path: root/sokol_gfx.h
diff options
context:
space:
mode:
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);