[Bf-blender-cvs] [432d24f] master: Fix recent own stupidity with indexed sculpt drawing.
Antony Riakiotakis
noreply at git.blender.org
Mon Jul 20 15:28:25 CEST 2015
Commit: 432d24f9981a4baac1b3c8e0e204e1303d1d4ba9
Author: Antony Riakiotakis
Date: Mon Jul 20 15:28:05 2015 +0200
Branches: master
https://developer.blender.org/rB432d24f9981a4baac1b3c8e0e204e1303d1d4ba9
Fix recent own stupidity with indexed sculpt drawing.
===================================================================
M source/blender/gpu/intern/gpu_buffers.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index 478dfd9..4920635 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -2021,7 +2021,7 @@ void GPU_draw_pbvh_buffers(GPU_PBVH_Buffers *buffers, DMSetMaterial setMaterial,
GPU_buffer_unbind(buffers->vert_buf, GPU_BINDING_ARRAY);
if (buffers->index_buf || do_fast)
- GPU_buffer_unbind(do_fast ? buffers->index_buf_fast : buffers->index_buf, GPU_BINDING_ARRAY);
+ GPU_buffer_unbind(do_fast ? buffers->index_buf_fast : buffers->index_buf, GPU_BINDING_INDEX);
glDisableClientState(GL_VERTEX_ARRAY);
if (!wireframe) {
More information about the Bf-blender-cvs
mailing list