mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- Duke: Fix occasional flicker in corner of 'Completed' text. Need to do the text after all backdrop changes.
This commit is contained in:
parent
439633e6db
commit
5e947cd78f
1 changed files with 3 additions and 2 deletions
|
@ -904,8 +904,6 @@ public:
|
||||||
int currentclock = int(clock * 120 / 1'000'000'000);
|
int currentclock = int(clock * 120 / 1'000'000'000);
|
||||||
DrawTexture(twod, tileGetTexture(gfx_offset, true), 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal, TAG_DONE);
|
DrawTexture(twod, tileGetTexture(gfx_offset, true), 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal, TAG_DONE);
|
||||||
|
|
||||||
if (lastmapname) BigText(160, 20 - 6, lastmapname);
|
|
||||||
BigText(160, 36 - 6, GStrings("Completed"));
|
|
||||||
GameText(160, 190, GStrings("PRESSKEY"), 8 - int(sin(currentclock / 10.) * 8), 0);
|
GameText(160, 190, GStrings("PRESSKEY"), 8 - int(sin(currentclock / 10.) * 8), 0);
|
||||||
|
|
||||||
if (currentclock > (60 * 3))
|
if (currentclock > (60 * 3))
|
||||||
|
@ -964,6 +962,9 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lastmapname) BigText(160, 20 - 6, lastmapname);
|
||||||
|
BigText(160, 36 - 6, GStrings("Completed"));
|
||||||
|
|
||||||
if (currentclock > 10240 && currentclock < 10240 + 10240)
|
if (currentclock > 10240 && currentclock < 10240 + 10240)
|
||||||
SetTotalClock(1024);
|
SetTotalClock(1024);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue