- Fixed: Memory error when loading BMF palettes.
- Fixed: When locating WhiteIndex and BlackIndex in the palette index 0 was skipped. - Fixed: When filling an area black for vid_fps or pillarbox/letterbox use GPalette.BlackIndex instead of assuming palette index 0 is black. SVN r3807 (trunk)
This commit is contained in:
parent
4ac8f5eae4
commit
cb413c600e
4 changed files with 9 additions and 9 deletions
|
|
@ -859,7 +859,7 @@ void DFrameBuffer::DrawRateStuff ()
|
|||
|
||||
chars = mysnprintf (fpsbuff, countof(fpsbuff), "%2u ms (%3u fps)", howlong, LastCount);
|
||||
rate_x = Width - chars * 8;
|
||||
Clear (rate_x, 0, Width, 8, 0, 0);
|
||||
Clear (rate_x, 0, Width, 8, GPalette.BlackIndex, 0);
|
||||
DrawText (ConFont, CR_WHITE, rate_x, 0, (char *)&fpsbuff[0], TAG_DONE);
|
||||
|
||||
DWORD thisSec = ms/1000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue