mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- 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:
parent
d7686d0c26
commit
2090c03d88
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue