diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-01-26 16:38:40 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-01-26 16:38:40 +0300 |
commit | 84671d796d4237e094046a88d938bea9ec720174 (patch) | |
tree | 668c59840ad08721e75f938ffe5f718a3f37dbec /source/blender/windowmanager | |
parent | 74633c0456b62b35a925c45cbff30508e53e86e9 (diff) | |
parent | b665781808167011a7a7c3c51b6862a15380129e (diff) |
Merge remote-tracking branch 'origin/blender-v2.92-release'
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/xr/intern/wm_xr_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/xr/intern/wm_xr_draw.c b/source/blender/windowmanager/xr/intern/wm_xr_draw.c index 1b1ea6c1e61..499ec136e03 100644 --- a/source/blender/windowmanager/xr/intern/wm_xr_draw.c +++ b/source/blender/windowmanager/xr/intern/wm_xr_draw.c @@ -92,7 +92,8 @@ static void wm_xr_draw_viewport_buffers_to_active_framebuffer( if (is_upside_down) { SWAP(int, rect.ymin, rect.ymax); } - GPU_viewport_draw_to_screen_ex(surface_data->viewport, 0, &rect, draw_view->expects_srgb_buffer); + GPU_viewport_draw_to_screen_ex( + surface_data->viewport, 0, &rect, draw_view->expects_srgb_buffer, true); } /** |