mirror of
https://github.com/gnustep/libs-back.git
synced 2025-06-04 11:10:44 +00:00
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:
parent
2d72a18f1a
commit
0ebb1b1411
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue