diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2010-03-11 14:04:41 +0300 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2010-03-11 14:04:41 +0300 |
commit | 03728edef20219faccc98949c59379cae80f6adc (patch) | |
tree | e0cf44c1bbc17a1b8ea5db48ab697fb4acdb8545 /src/apps | |
parent | 580a99a63d5c655be52b43f45bc7b065ad8ff03a (diff) |
fix : another OSD draw fix;
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1752 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps')
-rw-r--r-- | src/apps/mplayerc/VMROSD.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apps/mplayerc/VMROSD.cpp b/src/apps/mplayerc/VMROSD.cpp index dc16a9103..800d5b5b5 100644 --- a/src/apps/mplayerc/VMROSD.cpp +++ b/src/apps/mplayerc/VMROSD.cpp @@ -133,6 +133,10 @@ void CVMROSD::UpdateBitmap() m_MemDC.SetTextColor(RGB(255, 255, 255));
m_MemDC.SetBkMode(TRANSPARENT);
}
+
+ if(m_MainFont.GetSafeHandle())
+ m_MemDC.SelectObject(m_MainFont);
+
DeleteObject(hbmpRender);
}
|