T79811 MacOS: Edit Mode - vertex/edge/face selection is missing

This is quite embarassing... it was returning the base instance instead of
the correct vao. No wonder that it was causing crash and at most drawing
issues.
This commit is contained in:
Clément Foucault 2020-08-24 19:25:43 +02:00
parent f5ca34d0b4
commit ed4c83f61f
Notes: blender-bot 2023-02-14 00:20:19 +01:00
Referenced by issue #80021, Select and unselect bug
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ GLuint GLVaoCache::base_instance_vao_get(GPUBatch *batch, int i_first)
base_instance_ = i_first;
GLVertArray::update_bindings(vao_base_instance_, batch, interface_, i_first);
}
return base_instance_;
return vao_base_instance_;
}
GLuint GLVaoCache::vao_get(GPUBatch *batch)