Fix GetScreenshotBuffer grabbing from wrong location
This commit is contained in:
parent
c817979eae
commit
d5b122b092
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ void OpenGLFrameBuffer::FillSimplePoly(FTexture *texture, FVector2 *points, int
|
|||
|
||||
void OpenGLFrameBuffer::GetScreenshotBuffer(const BYTE *&buffer, int &pitch, ESSType &color_type)
|
||||
{
|
||||
const auto &viewport = GLRenderer->mScreenViewport;
|
||||
const auto &viewport = GLRenderer->mOutputLetterbox;
|
||||
|
||||
// Grab what is in the back buffer.
|
||||
// We cannot rely on SCREENWIDTH/HEIGHT here because the output may have been scaled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue