[Bf-blender-cvs] [20b0b36479a] soc-2019-openxr: DirectX: Create an own render-target, don't use swapchain for blitting
Julian Eisel
noreply at git.blender.org
Wed Aug 21 21:00:49 CEST 2019
Commit: 20b0b36479aae60952a557fa125e2136a8e05992
Author: Julian Eisel
Date: Wed Aug 21 20:40:13 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rB20b0b36479aae60952a557fa125e2136a8e05992
DirectX: Create an own render-target, don't use swapchain for blitting
===================================================================
M intern/ghost/intern/GHOST_ContextD3D.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextD3D.cpp b/intern/ghost/intern/GHOST_ContextD3D.cpp
index e9253216d9a..6568fcf4252 100644
--- a/intern/ghost/intern/GHOST_ContextD3D.cpp
+++ b/intern/ghost/intern/GHOST_ContextD3D.cpp
@@ -215,8 +215,7 @@ GHOST_TSuccess GHOST_ContextD3D::blitOpenGLOffscreenContext(GHOST_Context * /*of
GHOST_TInt32 height)
{
if (updateSwapchain(width, height) == GHOST_kSuccess) {
- GHOST_SharedOpenGLResource *shared_res = createSharedOpenGLResource(
- width, height, m_backbuffer_view);
+ GHOST_SharedOpenGLResource *shared_res = createSharedOpenGLResource(width, height);
if (shared_res) {
GHOST_TSuccess ret = blitFromOpenGLContext(shared_res, width, height);
More information about the Bf-blender-cvs
mailing list