GDIRenderer - fix run away gdi objects when drawing bitmaps

This commit is contained in:
adelikat 2014-10-11 18:56:54 +00:00
parent 421f69ed69
commit f7939125e7
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ namespace BizHawk.Client.EmuHawk.CustomControls
}
SelectObject(bitHDC, old);
DeleteDC(bitHDC);
DeleteObject(hbmp);
}
/// <summary>