mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 08:15:37 +00:00
Fix size of the status update overlay on DXVA2
This commit is contained in:
parent
c75b9c9221
commit
202a643e5a
@ -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,
|
||||||
|
@ -9,7 +9,6 @@ namespace Overlay {
|
|||||||
enum OverlayType {
|
enum OverlayType {
|
||||||
OverlayDebug,
|
OverlayDebug,
|
||||||
OverlayStatusUpdate,
|
OverlayStatusUpdate,
|
||||||
OverlayNotification,
|
|
||||||
OverlayMax
|
OverlayMax
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user