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:
authorClément Foucault <foucault.clem@gmail.com>2019-05-27 14:37:58 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-27 14:38:06 +0300
commit4ad9d93fec776afdd27257a425d33d65d67f240b (patch)
tree517816699f34348fae7ea822af19763a148c590e /source/blender/gpu
parent118ac491d2043cf3fc78cc99034b78666523b865 (diff)
Fix T65066 Armature and bone selection is broken on macOS
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_batch.c2
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