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: case Overlay::OverlayStatusUpdate:
if (m_StatusOverlayFont == nullptr) { if (m_StatusOverlayFont == nullptr) {
hr = D3DXCreateFontA(m_Device, hr = D3DXCreateFontA(m_Device,
Session::get()->getOverlayManager().getOverlayFontSize(Overlay::OverlayNotification), Session::get()->getOverlayManager().getOverlayFontSize(Overlay::OverlayStatusUpdate),
0, 0,
FW_HEAVY, FW_HEAVY,
1, 1,

View File

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