diff options
| -rw-r--r-- | sokol_gfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h index 62516977..7ad4d65e 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -2960,7 +2960,7 @@ typedef struct sg_shader_vertex_attr { typedef struct sg_glsl_shader_uniform { sg_uniform_type type; - uint32_t offset; // offset into uniform block struct + uint32_t offset; // optional explicit offset into uniform block struct (if zero, the offset will be computed) uint16_t array_count; // 0 for scalars, or >1 for arrays const char* glsl_name; // glsl name binding is required on GL 4.1 and WebGL2 } sg_glsl_shader_uniform; |