- Fixed: D3DFB::GetScreenshotBuffer() must not offset the buffer pointer for letterboxed modes,

since the screenwipe speedup fixes also mean that this function no longer operates directly
  with the front buffer, but rather with a copy that is not letterboxed.

SVN r2355 (trunk)
This commit is contained in:
Randy Heit 2010-06-06 04:53:19 +00:00
parent d7686d0c26
commit 2090c03d88

View file

@ -1726,7 +1726,7 @@ void D3DFB::GetScreenshotBuffer(const BYTE *&buffer, int &pitch, ESSType &color_
}
else
{
buffer = (const BYTE *)lrect.pBits + lrect.Pitch * LBOffsetI;
buffer = (const BYTE *)lrect.pBits;
pitch = lrect.Pitch;
color_type = SS_BGRA;
}