Oops, flipping was off by one.

That's why software and directx9 were off, arg.
This commit is contained in:
Unknown W. Brackets 2014-08-30 13:19:52 -07:00
parent f842d309b2
commit cdbcc12a4e

View File

@ -300,7 +300,7 @@ std::vector<u32> TranslateDebugBufferToCompare(const GPUDebugBuffer *buffer, u32
if (!buffer->GetFlipped())
{
// Bitmaps are flipped, so we have to compare backwards in this case.
pixels += outStride * buffer->GetHeight();
pixels += outStride * (buffer->GetHeight() - 1);
outStride = -outStride;
}