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>2020-08-24 20:25:43 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-24 20:25:43 +0300
commited4c83f61fd330ba0728ce6774548906e524f36b (patch)
tree99119b7f6b2777fa556f253fa2592841cad3e42e /source/blender/gpu/opengl/gl_batch.cc
parentf5ca34d0b41b88e02e373d810ee8a6718e0c6f41 (diff)
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.
Diffstat (limited to 'source/blender/gpu/opengl/gl_batch.cc')
-rw-r--r--source/blender/gpu/opengl/gl_batch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_batch.cc b/source/blender/gpu/opengl/gl_batch.cc
index 2c80f3b31c6..04e8985902d 100644
--- a/source/blender/gpu/opengl/gl_batch.cc
+++ b/source/blender/gpu/opengl/gl_batch.cc
@@ -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)