diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-27 12:27:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-27 12:33:42 +0300 |
commit | 50d03de60039f8d474cbf5711260e43a28d2d177 (patch) | |
tree | 27b7fae1b6fe4fe3f94a044b5f5c037046fa8946 /source/blender/gpu/intern/gpu_select_pick.c | |
parent | efef0ee672d5a65c8cb4a37f2837a371def6daaa (diff) |
Fix error in depth picking caused by GL contexts
Depth picking needs to read the depth buffer after drawing
since GPU_select_end runs in a different OpenGL context
reading the depth buffer wasn't working.
This caused the last object to be unelectable.
Diffstat (limited to 'source/blender/gpu/intern/gpu_select_pick.c')
0 files changed, 0 insertions, 0 deletions