mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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
|
@ -1,4 +1,6 @@
|
|||
January 22, 2007
|
||||
- Fixed: The simulated palette blend used when the console is down needs to
|
||||
force a full screen update the next frame.
|
||||
- Fixed: LocalViewPitch could overflow and wrap around when a netgame stalls.
|
||||
- Changed the vertheight and rounding-error-checking code in
|
||||
DCanvas::DrawTexture() to calculate off the actual bottom of the image
|
||||
|
|
|
@ -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…
Reference in a new issue