Fix T65066 Armature and bone selection is broken on macOS

This commit is contained in:
Clément Foucault 2019-05-27 13:37:58 +02:00
parent 118ac491d2
commit 4ad9d93fec
Notes: blender-bot 2023-02-14 04:31:04 +01:00
Referenced by issue #65066, Armature and bone selection is broken on macOS
1 changed files with 1 additions and 1 deletions

View File

@ -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