Fix size of the status update overlay on DXVA2

This commit is contained in:
Cameron Gutman 2019-03-17 15:12:25 -07:00
parent c75b9c9221
commit 202a643e5a
2 changed files with 1 additions and 2 deletions

View file

@ -741,7 +741,7 @@ void DXVA2Renderer::notifyOverlayUpdated(Overlay::OverlayType type)
case Overlay::OverlayStatusUpdate:
if (m_StatusOverlayFont == nullptr) {
hr = D3DXCreateFontA(m_Device,
Session::get()->getOverlayManager().getOverlayFontSize(Overlay::OverlayNotification),
Session::get()->getOverlayManager().getOverlayFontSize(Overlay::OverlayStatusUpdate),
0,
FW_HEAVY,
1,

View file

@ -9,7 +9,6 @@ namespace Overlay {
enum OverlayType {
OverlayDebug,
OverlayStatusUpdate,
OverlayNotification,
OverlayMax
};