Don't release DC's for non-retained surfaces

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35743 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2012-10-25 21:28:28 +00:00
parent 2d72a18f1a
commit 0ebb1b1411

View file

@ -122,10 +122,10 @@
// Destroy the initial surface created...
cairo_surface_destroy(window);
// Release the device context...
ReleaseDC(GSWINDEVICE, hDC);
}
// Release the device context...
ReleaseDC(GSWINDEVICE, hDC);
if (self)
{