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; };