- Fixed: The simulated palette blend used when the console is down needs to
force a full screen update the next frame. SVN r460 (trunk)
This commit is contained in:
parent
f1c41539de
commit
64ad1d14af
2 changed files with 9 additions and 2 deletions
|
|
@ -1217,8 +1217,13 @@ void C_DrawConsole ()
|
|||
{
|
||||
player = player->camera->player;
|
||||
}
|
||||
screen->Dim (PalEntry ((unsigned char)(player->BlendR*255), (unsigned char)(player->BlendG*255), (unsigned char)(player->BlendB*255)),
|
||||
player->BlendA, 0, ConBottom, screen->GetWidth(), screen->GetHeight() - ConBottom);
|
||||
if (player->BlendA != 0)
|
||||
{
|
||||
screen->Dim (PalEntry ((unsigned char)(player->BlendR*255), (unsigned char)(player->BlendG*255), (unsigned char)(player->BlendB*255)),
|
||||
player->BlendA, 0, ConBottom, screen->GetWidth(), screen->GetHeight() - ConBottom);
|
||||
SB_state = screen->GetPageCount ();
|
||||
BorderNeedRefresh = screen->GetPageCount ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue