[Bf-blender-cvs] [02de1b98601] soc-2019-openxr: Quiet warning
Julian Eisel
noreply at git.blender.org
Wed Aug 14 17:44:16 CEST 2019
Commit: 02de1b98601919ec3ef909644099652458642dfa
Author: Julian Eisel
Date: Wed Aug 14 16:11:14 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rB02de1b98601919ec3ef909644099652458642dfa
Quiet warning
===================================================================
M intern/ghost/intern/GHOST_XrSession.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_XrSession.cpp b/intern/ghost/intern/GHOST_XrSession.cpp
index e8bd4eac917..3a3e2f0c795 100644
--- a/intern/ghost/intern/GHOST_XrSession.cpp
+++ b/intern/ghost/intern/GHOST_XrSession.cpp
@@ -424,7 +424,7 @@ static void ghost_xr_draw_view_info_from_view(const XrView &view, GHOST_XrDrawVi
r_info.fov.angle_down = view.fov.angleDown;
}
-bool ghost_xr_draw_view_expects_srgb_buffer(const GHOST_XrContext *context)
+static bool ghost_xr_draw_view_expects_srgb_buffer(const GHOST_XrContext *context)
{
/* WMR seems to be faulty and doesn't do OETF transform correctly. So expect a SRGB buffer to
* compensate. */
More information about the Bf-blender-cvs
mailing list