Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2017-04-15 20:06:43 +0300
committerMike Erwin <significant.bit@gmail.com>2017-04-15 20:06:43 +0300
commit16f08b08fc29b1254269a548d15a05465904c9cd (patch)
tree26a327260db9e8aa1a30ba90a881aec8511dad2d /intern
parentb92b250b081db387d68b4b8d06f33354c0725f25 (diff)
Gawain: rename AttribBinding clear for consistency
AttribBinding is only used internally by Gawain. Part of T51219
Diffstat (limited to 'intern')
-rw-r--r--intern/gawain/gawain/attrib_binding.h2
-rw-r--r--intern/gawain/src/attrib_binding.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/intern/gawain/gawain/attrib_binding.h b/intern/gawain/gawain/attrib_binding.h
index 9e2431ca379..f1378bff8cc 100644
--- a/intern/gawain/gawain/attrib_binding.h
+++ b/intern/gawain/gawain/attrib_binding.h
@@ -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);
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)
{