[Bf-blender-cvs] [06138de13ad] soc-2019-openxr: Color transforms were fixed in Windows MR -> disable our workaround
Julian Eisel
noreply at git.blender.org
Fri Nov 29 12:41:57 CET 2019
Commit: 06138de13adfcffb05be84f72843b24c6fcbeeb3
Author: Julian Eisel
Date: Fri Nov 29 12:40:55 2019 +0100
Branches: soc-2019-openxr
https://developer.blender.org/rB06138de13adfcffb05be84f72843b24c6fcbeeb3
Color transforms were fixed in Windows MR -> disable our workaround
===================================================================
M intern/ghost/intern/GHOST_XrSession.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_XrSession.cpp b/intern/ghost/intern/GHOST_XrSession.cpp
index 5ee3045ff37..0a622256aa4 100644
--- a/intern/ghost/intern/GHOST_XrSession.cpp
+++ b/intern/ghost/intern/GHOST_XrSession.cpp
@@ -425,11 +425,10 @@ static void ghost_xr_draw_view_info_from_view(const XrView &view, GHOST_XrDrawVi
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
+ /* Monado seems to be faulty and doesn't do OETF transform correctly. So expect a SRGB buffer to
* compensate. You get way too dark rendering without this, it's pretty obvious (even in the
* default startup scene). */
- return (context->getOpenXRRuntimeID() == OPENXR_RUNTIME_WMR) ||
- (context->getOpenXRRuntimeID() == OPENXR_RUNTIME_MONADO);
+ return (context->getOpenXRRuntimeID() == OPENXR_RUNTIME_MONADO);
}
void GHOST_XrSession::drawView(XrSwapchain swapchain,
More information about the Bf-blender-cvs
mailing list