From ada03e8673978eb12eb372e7750f7b7467ec1303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 14 May 2020 16:16:04 +0200 Subject: UI: Fix Unreported missing background for azone arrow This was caused by the sRGB viewport changes. The fix is to modify the alpha values manually. The shader was also missing a srgb fix. --- source/blender/windowmanager/WM_api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/windowmanager/WM_api.h') diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index bd534c51c9a..3af99a11a6b 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -870,6 +870,8 @@ void WM_generic_callback_free(struct wmGenericCallback *callback); void WM_generic_user_data_free(struct wmGenericUserData *user_data); +bool WM_region_use_viewport(struct ScrArea *area, struct ARegion *region); + #ifdef WITH_XR_OPENXR /* wm_xr.c */ bool WM_xr_session_exists(const wmXrData *xr); -- cgit v1.2.3