diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-04-15 20:06:43 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-04-15 20:06:43 +0300 |
commit | 16f08b08fc29b1254269a548d15a05465904c9cd (patch) | |
tree | 26a327260db9e8aa1a30ba90a881aec8511dad2d /intern/gawain/src/attrib_binding.c | |
parent | b92b250b081db387d68b4b8d06f33354c0725f25 (diff) |
Gawain: rename AttribBinding clear for consistency
AttribBinding is only used internally by Gawain.
Part of T51219
Diffstat (limited to 'intern/gawain/src/attrib_binding.c')
-rw-r--r-- | intern/gawain/src/attrib_binding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/gawain/src/attrib_binding.c b/intern/gawain/src/attrib_binding.c index bb42aaf66eb..c510de497d8 100644 --- a/intern/gawain/src/attrib_binding.c +++ b/intern/gawain/src/attrib_binding.c @@ -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) { |