mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-02 22:01:41 +00:00
- use StartupTexture, not HeaderTexture to clear the screen.
HeaderTexture does not exist for the Endoom screen.
This commit is contained in:
parent
b615019715
commit
092eb1eb6f
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ void FStartScreen::Render(bool force)
|
|||
twod->Begin(screen->GetWidth(), screen->GetHeight());
|
||||
|
||||
// Weird shit moment: Vulkan does not render the screen clear if there isn't something textured in the buffer before it.
|
||||
DrawTexture(twod, HeaderTexture, 0, 0, DTA_VirtualWidthF, HeaderTexture->GetDisplayWidth(), DTA_VirtualHeightF, HeaderTexture->GetDisplayHeight(), DTA_KeepRatio, true, DTA_Color, PalEntry(255,0,0,0), TAG_END);
|
||||
DrawTexture(twod, StartupTexture, 0, 0, DTA_VirtualWidthF, StartupTexture->GetDisplayWidth(), DTA_VirtualHeightF, StartupTexture->GetDisplayHeight(), DTA_KeepRatio, true, DTA_Color, PalEntry(255,0,0,0), TAG_END);
|
||||
|
||||
if (HeaderTexture)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue