mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Invalidate TILE_SAVESHOT whenever it is overwritten, so that it updates properly in GL.
(Also remove a redundant call to the screenshot function.) git-svn-id: https://svn.eduke32.com/eduke32@6703 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d155564975
commit
9deeb94f06
1 changed files with 2 additions and 4 deletions
|
@ -1048,6 +1048,8 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
|
|||
{
|
||||
g_screenCapture = 0;
|
||||
|
||||
invalidatetile(TILE_SAVESHOT, 0, 255);
|
||||
|
||||
if (getrendermode() == REND_CLASSIC)
|
||||
{
|
||||
setviewback();
|
||||
|
@ -4817,10 +4819,6 @@ FAKE_F2:
|
|||
|
||||
Menu_Change(MENU_SAVE);
|
||||
|
||||
g_screenCapture = 1;
|
||||
G_DrawRooms(myconnectindex,65536);
|
||||
g_screenCapture = 0;
|
||||
|
||||
S_PauseSounds(1);
|
||||
Menu_Open(myconnectindex);
|
||||
|
||||
|
|
Loading…
Reference in a new issue