diff --git a/Source/DisplayCluster/Private/Render/Devices/Monoscopic/DisplayClusterDeviceMonoscopicOpenGL.cpp b/Source/DisplayCluster/Private/Render/Devices/Monoscopic/DisplayClusterDeviceMonoscopicOpenGL.cpp index 238d5634dffb98e6843be9ec80d748b484cd4baf..0b35d20927ab0ba2db4b84df0f1a7a565674bdb7 100644 --- a/Source/DisplayCluster/Private/Render/Devices/Monoscopic/DisplayClusterDeviceMonoscopicOpenGL.cpp +++ b/Source/DisplayCluster/Private/Render/Devices/Monoscopic/DisplayClusterDeviceMonoscopicOpenGL.cpp @@ -51,9 +51,8 @@ bool FDisplayClusterDeviceMonoscopicOpenGL::Present(int32& InOutSyncInterval) { UE_LOG(LogDisplayClusterRender, Verbose, TEXT("FDisplayClusterDeviceQuadBufferStereoOpenGL::Present")); - const int halfSizeX = BackBuffSize.X / 2; const int dstX1 = 0; - const int dstX2 = halfSizeX; + const int dstX2 = BackBuffSize.X; // Convert to left bottom origin and flip Y const int dstY1 = ViewportSize.Y; @@ -76,7 +75,7 @@ bool FDisplayClusterDeviceMonoscopicOpenGL::Present(int32& InOutSyncInterval) glReadBuffer(GL_COLOR_ATTACHMENT0); glBlitFramebuffer( - 0, 0, halfSizeX, BackBuffSize.Y, + 0, 0, BackBuffSize.X, BackBuffSize.Y, dstX1, dstY1, dstX2, dstY2, GL_COLOR_BUFFER_BIT, GL_NEAREST);