From 4ad9d93fec776afdd27257a425d33d65d67f240b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 27 May 2019 13:37:58 +0200 Subject: Fix T65066 Armature and bone selection is broken on macOS --- source/blender/gpu/intern/gpu_batch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/intern') 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 -- cgit v1.2.3