Skip to content

Commit cefae3d

Browse files
committed
remove setstoragebuffer call and fix getNextShaderID_shc
1 parent df6cfbb commit cefae3d

File tree

2 files changed

+1474
-1466
lines changed

2 files changed

+1474
-1466
lines changed

src/backend_wgpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ static inline uint64_t bgEntryHashRD(const ResourceDescriptor bge) {
688688
void UpdateBindGroupEntry(DescribedBindGroup *bg, size_t index, ResourceDescriptor entry) {
689689
if (index >= bg->entryCount) {
690690
TRACELOG(LOG_WARNING, "Trying to set entry %d on a BindGroup with only %d entries", (int)index, (int)bg->entryCount);
691-
// return;
691+
return;
692692
}
693693
WGPUBuffer newpuffer = entry.buffer;
694694
WGPUTextureView newtexture = entry.textureView;

0 commit comments

Comments
 (0)