mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-08 11:52:02 +08:00
remove wrong refcount--
This commit is contained in:
@@ -3592,7 +3592,6 @@ void GUIAPI DeleteMemDC (HDC hdc)
|
||||
|
||||
pmem_dc = dc_HDC2PDC(hdc);
|
||||
|
||||
pmem_dc->surface->refcount--;
|
||||
GAL_FreeSurface (pmem_dc->surface);
|
||||
|
||||
if (pmem_dc->alpha_pixel_format)
|
||||
|
||||
Reference in New Issue
Block a user