mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
- 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:
parent
ab9c532d89
commit
3e0075a34d
2 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue