Remove call to GPU_update_mesh_buffers from GPU_build_mesh_buffers.
authorNicholas Bishop <nicholasbishop@gmail.com>
Tue, 21 Feb 2012 04:16:27 +0000 (04:16 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Tue, 21 Feb 2012 04:16:27 +0000 (04:16 +0000)
commita6dc47b0cae6bde63dfb3ec77cdae2d77a3e8b26
treecbf92042634713ee8c958a3a4691349e63cdc879
parent3c388300138bf565bfa404a3813c69ecbc289c1f
Remove call to GPU_update_mesh_buffers from GPU_build_mesh_buffers.

Building the mesh buffers already gets the PBVH_UpdateDrawBuffers flag
set, so this was double-updating the vertex buffer.
source/blender/blenlib/intern/pbvh.c
source/blender/gpu/GPU_buffers.h
source/blender/gpu/intern/gpu_buffers.c