- disabled the broken savegame pic code for the GL renderer.

I have no idea how this is supposed to work, but all it does is create corrupt images, so for now it reverts to the software renderer which generates working 320x200 images.
This commit is contained in:
Christoph Oelckers 2019-11-15 19:07:24 +01:00
parent ab9c532d89
commit 3e0075a34d
2 changed files with 8 additions and 8 deletions

View file

@ -815,7 +815,7 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
{
TileFiles.tileCreate(TILE_SAVESHOT, 200, 320);
if (videoGetRenderMode() == REND_CLASSIC)
//if (videoGetRenderMode() == REND_CLASSIC)
renderSetTarget(TILE_SAVESHOT, 200, 320);
}
else if (screenTilting)
@ -1069,13 +1069,13 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
tileInvalidate(TILE_SAVESHOT, 0, 255);
if (videoGetRenderMode() == REND_CLASSIC)
//if (videoGetRenderMode() == REND_CLASSIC)
{
renderRestoreTarget();
}
#ifdef USE_OPENGL
else
G_ReadGLFrame();
//else
// G_ReadGLFrame();
#endif
}
else if (screenTilting)

View file

@ -1022,7 +1022,7 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
{
TileFiles.tileCreate(TILE_SAVESHOT, 200, 320);
if (videoGetRenderMode() == REND_CLASSIC)
//if (videoGetRenderMode() == REND_CLASSIC)
renderSetTarget(TILE_SAVESHOT, 200, 320);
}
else if (screenTilting)
@ -1461,13 +1461,13 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
tileInvalidate(TILE_SAVESHOT, 0, 255);
if (videoGetRenderMode() == REND_CLASSIC)
//if (videoGetRenderMode() == REND_CLASSIC)
{
renderRestoreTarget();
}
#ifdef USE_OPENGL
else
G_ReadGLFrame();
//else
// G_ReadGLFrame();
#endif
}
else if (screenTilting)