Removes Qualcomm's rotated framebuffer bug from DriverDetails.

Due to changes in how we render to the final framebuffer we no longer encounter this bug.
With the change to post processing being enabled at all times and no longer using glBlitFramebuffer, Qualcomm no longer has the chance to rotate our
framebuffer underneath of us.
This commit is contained in:
Ryan Houdek
2014-10-29 19:50:39 -05:00
parent 52e6a940cf
commit daabcfd6fc
3 changed files with 2 additions and 19 deletions

View File

@ -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;