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

Change-Id: I5a814be6590c2704dcd681bad7af34f0f9143ad2

Former-commit-id: acec1c2a23f4e27bfd0844171fdca77ff5473050
This commit is contained in:
Ben Steffensmeier 2012-02-24 14:57:23 -06:00
parent f9baa1c98c
commit 357dc4d88b

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();