- fixed missing saved game picture in software modes

https://forum.zdoom.org/viewtopic.php?t=60574
This commit is contained in:
alexey.lysiuk 2018-05-13 16:11:05 +03:00
parent 8f96729e06
commit fa5f936371

View file

@ -205,8 +205,7 @@ void OpenGLFrameBuffer::WriteSavePic(player_t *player, FileWriter *file, int wid
{
if (!V_IsHardwareRenderer())
Super::WriteSavePic(player, file, width, height);
if (GLRenderer != nullptr)
else if (GLRenderer != nullptr)
GLRenderer->WriteSavePic(player, file, width, height);
}