summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/Render.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-10-30 12:46:40 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2014-10-30 12:46:40 -0600
commit3e82cb46285d71253970e3d59d3fa43fe80f0466 (patch)
tree5b57593de18d7c1b56f70dcd32dc6960604696c2 /Source/Core/VideoBackends/OGL/Render.cpp
parentd734ba14691545dba27551caf599755acee8c475 (diff)
parent181ff6750ea4113378497beebf49400ba83a8e07 (diff)
Merge pull request #1440 from Sonicadvance1/attributeless-workaround
Implements PP shader system using attribute workaround.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/Render.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp
index 69dbd4052f..1479107cc6 100644
--- a/Source/Core/VideoBackends/OGL/Render.cpp
+++ b/Source/Core/VideoBackends/OGL/Render.cpp
@@ -1395,15 +1395,8 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
UpdateDrawRectangle(s_backbuffer_width, s_backbuffer_height);
TargetRectangle flipped_trc = GetTargetRectangle();
- if (DriverDetails::HasBug(DriverDetails::BUG_ROTATEDFRAMEBUFFER))
- {
- std::swap(flipped_trc.left, flipped_trc.right);
- }
- else
- {
- // Flip top and bottom for some reason; TODO: Fix the code to suck less?
- std::swap(flipped_trc.top, flipped_trc.bottom);
- }
+ // Flip top and bottom for some reason; TODO: Fix the code to suck less?
+ std::swap(flipped_trc.top, flipped_trc.bottom);
// Copy the framebuffer to screen.
const XFBSource* xfbSource = nullptr;