diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index ce37145ea85..3403e035354 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -2771,7 +2771,6 @@ void DRW_draw_select_id_object(Scene *scene, } GPU_matrix_mul(ob->obmat); - GPU_depth_test(true); const float(*world_clip_planes)[4] = NULL; if (rv3d->rflag & RV3D_CLIPPING) { @@ -2897,7 +2896,7 @@ void DRW_framebuffer_select_id_setup(ARegion *ar, const bool clear) glDisable(GL_DITHER); GPU_depth_test(true); - glDisable(GL_SCISSOR_TEST); + GPU_enable_program_point_size(); if (clear) { GPU_framebuffer_clear_color_depth( |