Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nDisplay
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LuFG VR VIS
VR-Group
Unreal-Development
nDisplay
Commits
d547f4a5
Commit
d547f4a5
authored
6 years ago
by
Jonathan Wendt
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/DisplayCluster/Private/Render/Devices/Monoscopic/DisplayClusterDeviceMonoscopicOpenGL.cpp
+2
-3
2 additions, 3 deletions
...vices/Monoscopic/DisplayClusterDeviceMonoscopicOpenGL.cpp
with
2 additions
and
3 deletions
Source/DisplayCluster/Private/Render/Devices/Monoscopic/DisplayClusterDeviceMonoscopicOpenGL.cpp
+
2
−
3
View file @
d547f4a5
...
...
@@ -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
=
hal
fSizeX
;
const
int
dstX2
=
BackBuf
fSize
.
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
,
hal
fSizeX
,
BackBuffSize
.
Y
,
0
,
0
,
BackBuf
fSize
.
X
,
BackBuffSize
.
Y
,
dstX1
,
dstY1
,
dstX2
,
dstY2
,
GL_COLOR_BUFFER_BIT
,
GL_NEAREST
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment