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,
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs