Issue #345 fix swapping of nsharp since nsharp insists on using a disposed target

Change-Id: I5a814be6590c2704dcd681bad7af34f0f9143ad2

Former-commit-id: 87a4c09b0b [formerly 8fd9d92f0a] [formerly 20481daa1b] [formerly 20481daa1b [formerly 357dc4d88b]] [formerly 87a4c09b0b [formerly 8fd9d92f0a] [formerly 20481daa1b] [formerly 20481daa1b [formerly 357dc4d88b]] [formerly 637c051a23 [formerly 20481daa1b [formerly 357dc4d88b] [formerly 637c051a23 [formerly acec1c2a23f4e27bfd0844171fdca77ff5473050]]]]]
Former-commit-id: 637c051a23
Former-commit-id: ee111b24a4 [formerly d5118790dd] [formerly 88d2d2e4b6] [formerly b6c0fb2cacf2ea84b50c63e8f7cdc8ae3f63ce9d [formerly bc7a93cc6ff900a77e00a7eb9d6864845eda90c8] [formerly 88d2d2e4b6 [formerly 62f1ea0aac]]]
Former-commit-id: e8001187123db2252e2e4febcd7f87b6928d3f7a [formerly 8c5c8bff0b6bd1f4321d4b9718028339dd9a0374] [formerly cc91522fa0 [formerly 0b4134f364]]
Former-commit-id: cc91522fa0
Former-commit-id: 4496b2f98c
This commit is contained in:
Ben Steffensmeier 2012-02-24 14:57:23 -06:00
parent 3a2456ee1d
commit ea727ad572

View file

@ -562,11 +562,9 @@ public class GLTarget implements IGLTarget {
if (defaultFont != null) {
defaultFont.disposeInternal();
defaultFont = null;
}
if (colorbarFont != null) {
colorbarFont.disposeInternal();
colorbarFont = null;
}
theContext.destroyContext();