From 0fcaa473de2498d8f684c6a5e218ece371e257ba Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Mon, 7 Feb 2022 10:59:50 -0500 Subject: [PATCH] remove data_size parameter from GLUniform --- src/shader.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/shader.h b/src/shader.h index ed3ff7f..7a19e1f 100644 --- a/src/shader.h +++ b/src/shader.h @@ -17,16 +17,10 @@ struct GLUniform GLuint idx; GLint location; GLint block_idx; - GLenum uniform_type; // NOTE: GL_UNSIGNED_INT, GL_FLOAT_VEC4 GLint num_elements; // NOTE: 1 unless uniform is an array of base types - - // FIXME: we can't actually get this from opengl introspection API, we have - // to infer it from the uniform type... - GLint data_size; // NOTE: total size in bytes... GLint array_stride; // NOTE: bytes between array elements GLint uniform_offset; // NOTE: byte offset from beginning of uniform - char* name; };