diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-27 14:37:58 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-27 14:38:06 +0300 |
commit | 4ad9d93fec776afdd27257a425d33d65d67f240b (patch) | |
tree | 517816699f34348fae7ea822af19763a148c590e /source | |
parent | 118ac491d2043cf3fc78cc99034b78666523b865 (diff) |
Fix T65066 Armature and bone selection is broken on macOS
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/intern/gpu_batch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_batch.c b/source/blender/gpu/intern/gpu_batch.c index 933bcb2ed8e..09c29cc1654 100644 --- a/source/blender/gpu/intern/gpu_batch.c +++ b/source/blender/gpu/intern/gpu_batch.c @@ -621,7 +621,7 @@ void GPU_batch_draw_advanced(GPUBatch *batch, int v_first, int v_count, int i_fi /* If using offset drawing with instancing, we must * use the default VAO and redo bindings. */ glBindVertexArray(GPU_vao_default()); - batch_update_program_bindings(batch, v_first); + batch_update_program_bindings(batch, i_first); } else { /* Previous call could have bind the default vao |