- fixed: Before aqcuiring the WipeEndScreen, the renderer must be flushed.

Apparently this got previously done implicitly by code that got lost in the refactoring.
This commit is contained in:
Christoph Oelckers 2018-04-08 19:54:17 +02:00
parent 17c18f3367
commit a40d85fd41

View file

@ -166,6 +166,7 @@ bool OpenGLFrameBuffer::WipeStartScreen(int type)
void OpenGLFrameBuffer::WipeEndScreen()
{
GLRenderer->Flush();
const auto &viewport = GLRenderer->mScreenViewport;
wipeendscreen = new FHardwareTexture(true);
wipeendscreen->CreateTexture(NULL, viewport.width, viewport.height, 0, false, 0, "WipeEndScreen");