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
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-01-03 00:22:36 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-01-03 14:48:12 +0400
commitba8d65a9a7a0fbcf49dbfcd15625a75062f6d302 (patch)
treece1885a83323ab1f0333419fe08177863ec2554b /source/blender/blenkernel/intern/pbvh_bmesh.c
parentc5cb42f40285fca072e8378bdadf11c674b90340 (diff)
Code clean-up change naming of gpu buffers used by pbvh to better
reflect that. Previous name GPU_Buffers was very similar to GPU_Buffer, renamed to GPU_PBVH_Buffers
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh_bmesh.c')
-rw-r--r--source/blender/blenkernel/intern/pbvh_bmesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/pbvh_bmesh.c b/source/blender/blenkernel/intern/pbvh_bmesh.c
index 296f931e2fb..4bd2114ee79 100644
--- a/source/blender/blenkernel/intern/pbvh_bmesh.c
+++ b/source/blender/blenkernel/intern/pbvh_bmesh.c
@@ -94,7 +94,7 @@ static void pbvh_bmesh_node_finalize(PBVH *bvh, int node_index)
/* Build GPU buffers */
if (!G.background) {
int smooth = bvh->flags & PBVH_DYNTOPO_SMOOTH_SHADING;
- n->draw_buffers = GPU_build_bmesh_buffers(smooth);
+ n->draw_buffers = GPU_build_bmesh_pbvh_buffers(smooth);
n->flag |= PBVH_UpdateDrawBuffers | PBVH_UpdateNormals;
}
}
@@ -207,7 +207,7 @@ static void pbvh_bmesh_node_split(PBVH *bvh, GHash *prim_bbc, int node_index)
n->layer_disp = NULL;
if (n->draw_buffers) {
- GPU_free_buffers(n->draw_buffers);
+ GPU_free_pbvh_buffers(n->draw_buffers);
n->draw_buffers = NULL;
}
n->flag &= ~PBVH_Leaf;