diff options
Diffstat (limited to 'src/demos/es1/angeles/Main.java')
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java index 66592be..ccd2db8 100755 --- a/src/demos/es1/angeles/Main.java +++ b/src/demos/es1/angeles/Main.java @@ -82,8 +82,7 @@ public class Main implements MouseListener { // Shut things down cooperatively context.release(); context.destroy(); - drawable.setRealized(false); - factory.shutdown(); + drawable.destroy(); System.out.println("Angeles shut down cleanly."); } catch (GLException e) { e.printStackTrace(); |