Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-05-14 17:16:04 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-05-14 17:16:29 +0300
commitada03e8673978eb12eb372e7750f7b7467ec1303 (patch)
treede30c327f64d1f1d082ffec74196061e976941ce /source/blender/windowmanager/WM_api.h
parent0909b564a9330a9c1c4c5df3b05bf77ae20e8927 (diff)
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.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r--source/blender/windowmanager/WM_api.h2
1 files changed, 2 insertions, 0 deletions
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);