From 28b06b6a05f7e0efb307aa3f4d2d609c9162358c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 17 Jun 2019 20:28:27 +0200 Subject: Fix T57650 UVEdit: selection not visible if behind unselected UVs Use depth buffer to order the uv edges correctly to always draw selected edges on top. We still use the double drawing workaround for points to keep the smooth antialiased display. --- source/blender/gpu/GPU_framebuffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_framebuffer.h') diff --git a/source/blender/gpu/GPU_framebuffer.h b/source/blender/gpu/GPU_framebuffer.h index 3cc972fabfb..b919a3dd8f3 100644 --- a/source/blender/gpu/GPU_framebuffer.h +++ b/source/blender/gpu/GPU_framebuffer.h @@ -209,6 +209,7 @@ void GPU_offscreen_viewport_data_get(GPUOffScreen *ofs, struct GPUTexture **r_depth); void GPU_clear_color(float red, float green, float blue, float alpha); +void GPU_clear_depth(float depth); void GPU_clear(eGPUFrameBufferBits flags); #ifdef __cplusplus -- cgit v1.2.3