aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulianiolo <50519317+Julianiolo@users.noreply.github.com>2025-12-06 22:06:43 +0100
committerGitHub <noreply@github.com>2025-12-06 22:06:43 +0100
commit86224e500fabbf9336ab5fdf6c11d53879d8c1ba (patch)
tree10d3fdd8a8723e3c87fa42165393506b4a20981c
parente1d828353271b92fa2be3fd2d09e138e5627905f (diff)
fix typo in _sg_gl_create_shader
-rw-r--r--sokol_gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 3778c50a..ef290235 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -10974,7 +10974,7 @@ _SOKOL_PRIVATE sg_resource_state _sg_gl_create_shader(_sg_shader_t* shd, const s
if (view->storage_buffer.stage != SG_SHADERSTAGE_NONE) {
shd->gl.sbuf_binding[i] = view->storage_buffer.glsl_binding_n;
} else if (view->storage_image.stage != SG_SHADERSTAGE_NONE) {
- shd->gl.simg_binding[i] = view->storage_buffer.glsl_binding_n;
+ shd->gl.simg_binding[i] = view->storage_image.glsl_binding_n;
}
}