Skip to content
Snippets Groups Projects
Commit d547f4a5 authored by Jonathan Wendt's avatar Jonathan Wendt
Browse files

remove the fix for a bug that disappeared, fixing monoscoping rendering

parent 0e32f208
No related branches found
No related tags found
No related merge requests found
...@@ -51,9 +51,8 @@ bool FDisplayClusterDeviceMonoscopicOpenGL::Present(int32& InOutSyncInterval) ...@@ -51,9 +51,8 @@ bool FDisplayClusterDeviceMonoscopicOpenGL::Present(int32& InOutSyncInterval)
{ {
UE_LOG(LogDisplayClusterRender, Verbose, TEXT("FDisplayClusterDeviceQuadBufferStereoOpenGL::Present")); UE_LOG(LogDisplayClusterRender, Verbose, TEXT("FDisplayClusterDeviceQuadBufferStereoOpenGL::Present"));
const int halfSizeX = BackBuffSize.X / 2;
const int dstX1 = 0; const int dstX1 = 0;
const int dstX2 = halfSizeX; const int dstX2 = BackBuffSize.X;
// Convert to left bottom origin and flip Y // Convert to left bottom origin and flip Y
const int dstY1 = ViewportSize.Y; const int dstY1 = ViewportSize.Y;
...@@ -76,7 +75,7 @@ bool FDisplayClusterDeviceMonoscopicOpenGL::Present(int32& InOutSyncInterval) ...@@ -76,7 +75,7 @@ bool FDisplayClusterDeviceMonoscopicOpenGL::Present(int32& InOutSyncInterval)
glReadBuffer(GL_COLOR_ATTACHMENT0); glReadBuffer(GL_COLOR_ATTACHMENT0);
glBlitFramebuffer( glBlitFramebuffer(
0, 0, halfSizeX, BackBuffSize.Y, 0, 0, BackBuffSize.X, BackBuffSize.Y,
dstX1, dstY1, dstX2, dstY2, dstX1, dstY1, dstX2, dstY2,
GL_COLOR_BUFFER_BIT, GL_COLOR_BUFFER_BIT,
GL_NEAREST); GL_NEAREST);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment