aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-10-26 15:06:00 +0200
committerAndre Weissflog <floooh@gmail.com>2024-10-26 15:06:00 +0200
commit195d8fed04cfc815837c5fdf76e50c09a2b1f70f (patch)
tree6056835b294657d84ebe13ec9102ad5a74f1f3a7 /util
parent8bfb44333a4dbf56c8f84de3fbe78321b2a4d62f (diff)
sokol_gfx.h: remove sg_shader_uniform.offset
Diffstat (limited to 'util')
-rw-r--r--util/sokol_gfx_imgui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sokol_gfx_imgui.h b/util/sokol_gfx_imgui.h
index a6f868d8..f2ed488d 100644
--- a/util/sokol_gfx_imgui.h
+++ b/util/sokol_gfx_imgui.h
@@ -3522,9 +3522,9 @@ _SOKOL_PRIVATE void _sgimgui_draw_shader_panel(sgimgui_t* ctx, sg_shader shd) {
const sg_glsl_shader_uniform* u = &ub->glsl_uniforms[j];
if (SG_UNIFORMTYPE_INVALID != u->type) {
if (u->array_count <= 1) {
- igText(" %s %s (offset: %d)", _sgimgui_uniformtype_string(u->type), u->glsl_name ? u->glsl_name : "", u->offset);
+ igText(" %s %s", _sgimgui_uniformtype_string(u->type), u->glsl_name ? u->glsl_name : "");
} else {
- igText(" %s[%d] %s (offset: %d)", _sgimgui_uniformtype_string(u->type), u->array_count, u->glsl_name ? u->glsl_name : "", u->offset);
+ igText(" %s[%d] %s", _sgimgui_uniformtype_string(u->type), u->array_count, u->glsl_name ? u->glsl_name : "");
}
}
}