Commit 690f1919 authored by Erwan Tulou's avatar Erwan Tulou

skins2(Win32) : fix GDI leak (trac #4101)

parent d40cd11c
......@@ -72,6 +72,7 @@ void Win32Graphics::clear( int xDest, int yDest, int width, int height )
HRGN mask = CreateRectRgn( xDest, yDest,
xDest + width, yDest + height );
CombineRgn( m_mask, m_mask, mask, RGN_DIFF );
DeleteObject( mask );
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment