equal
deleted
inserted
replaced
974 crToDestroy := cr. |
974 crToDestroy := cr. |
975 surfaceToDestroy := cr surface. |
975 surfaceToDestroy := cr surface. |
976 cr := nil. |
976 cr := nil. |
977 crToDestroy release. |
977 crToDestroy release. |
978 surfaceToDestroy release. |
978 surfaceToDestroy release. |
979 device dcUnlockForGC: gcId. |
979 device isWindowsPlatform ifTrue:[ |
|
980 device dcUnlockForGC: gcId. |
|
981 ]. |
980 wasBlocked ifFalse:[ |
982 wasBlocked ifFalse:[ |
981 OperatingSystem unblockInterrupts. |
983 OperatingSystem unblockInterrupts. |
982 ] |
984 ] |
983 ]. |
985 ]. |
984 |
986 |
985 "Created: / 12-02-2016 / 16:59:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
987 "Created: / 12-02-2016 / 16:59:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
986 "Modified: / 26-02-2016 / 22:50:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
987 "Modified (format): / 02-04-2016 / 16:07:22 / jv" |
988 "Modified (format): / 02-04-2016 / 16:07:22 / jv" |
|
989 "Modified: / 04-04-2016 / 18:45:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
988 ! |
990 ! |
989 |
991 |
990 destroyGC |
992 destroyGC |
991 drawableId notNil ifTrue:[ |
993 drawableId notNil ifTrue:[ |
992 Logger debug: 'Destroying GC/CR for drawable %1' with: drawableId. |
994 Logger debug: 'Destroying GC/CR for drawable %1' with: drawableId. |