mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
[Fix] Revive FPS drawing overlay
To enable built-in FPS, change gbFPSDisplay to SHOW_FULL_FPS (1) in debugger (or change it in src code and rebuild).
This commit is contained in:
@@ -1009,6 +1009,12 @@ BOOLEAN UpdateVideoOverlay( VIDEO_OVERLAY_DESC *pTopmostDesc, UINT32 iBlitterInd
|
||||
}
|
||||
}
|
||||
|
||||
if ( uiFlags & VOVERLAY_DESC_FONT )
|
||||
{
|
||||
gVideoOverlays[iBlitterIndex].uiFontID = pTopmostDesc->uiFontID;
|
||||
gVideoOverlays[iBlitterIndex].ubFontBack = pTopmostDesc->ubFontBack;
|
||||
gVideoOverlays[iBlitterIndex].ubFontFore = pTopmostDesc->ubFontFore;
|
||||
}
|
||||
|
||||
if ( uiFlags & VOVERLAY_DESC_DISABLED )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user