From 603774c1eb8db827efc7a3bf9e81c230010eac8b Mon Sep 17 00:00:00 2001 From: mano-wii Date: Tue, 30 Oct 2018 15:31:32 -0300 Subject: Fix T56865: Selection of bones not working properly if the option `In Front` (old X-ray) is enabled Differential Revision: https://developer.blender.org/D3828 --- source/blender/gpu/GPU_state.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_state.h') diff --git a/source/blender/gpu/GPU_state.h b/source/blender/gpu/GPU_state.h index 16627fec42b..4c8ad7406df 100644 --- a/source/blender/gpu/GPU_state.h +++ b/source/blender/gpu/GPU_state.h @@ -47,6 +47,7 @@ void GPU_blend_set_func(GPUBlendFunction sfactor, GPUBlendFunction dfactor); void GPU_blend_set_func_separate( GPUBlendFunction src_rgb, GPUBlendFunction dst_rgb, GPUBlendFunction src_alpha, GPUBlendFunction dst_alpha); +void GPU_depth_range(float near, float far); void GPU_depth_test(bool enable); bool GPU_depth_test_enabled(void); void GPU_line_smooth(bool enable); -- cgit v1.2.3