Commit 6e0c6291 authored by Erwan Tulou's avatar Erwan Tulou

skins2(Win32) : fix GDI leak (trac #4101) (cherry picked from commit...

skins2(Win32) : fix GDI leak (trac #4101) (cherry picked from commit 690f19195f8e526750c5413c5a5a261c95cd55bf)
parent d5fae6e4
......@@ -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