Gawain: rename AttribBinding clear for consistency
AttribBinding is only used internally by Gawain. Part of T51219
This commit is contained in:
parent
b92b250b08
commit
16f08b08fc
|
@ -18,7 +18,7 @@ typedef struct {
|
|||
uint16_t enabled_bits; // 1 bit for each attrib
|
||||
} AttribBinding;
|
||||
|
||||
void clear_AttribBinding(AttribBinding*);
|
||||
void AttribBinding_clear(AttribBinding*);
|
||||
|
||||
void get_attrib_locations(const VertexFormat*, AttribBinding*, GLuint program);
|
||||
unsigned read_attrib_location(const AttribBinding*, unsigned a_idx);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#error "attrib binding code assumes MAX_VERTEX_ATTRIBS = 16"
|
||||
#endif
|
||||
|
||||
void clear_AttribBinding(AttribBinding* binding)
|
||||
void AttribBinding_clear(AttribBinding* binding)
|
||||
{
|
||||
binding->loc_bits = 0;
|
||||
binding->enabled_bits = 0;
|
||||
|
@ -52,7 +52,7 @@ void get_attrib_locations(const VertexFormat* format, AttribBinding* binding, GL
|
|||
assert(glIsProgram(program));
|
||||
#endif
|
||||
|
||||
clear_AttribBinding(binding);
|
||||
AttribBinding_clear(binding);
|
||||
|
||||
for (unsigned a_idx = 0; a_idx < format->attrib_ct; ++a_idx)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue