aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-19 21:48:20 +0100
committerSven Gothel <[email protected]>2010-11-19 21:48:20 +0100
commit473e25e758ece83b1eff2722f13dc4d65ee81c27 (patch)
treeb78cc2bcfd7a8ec64707f6ea590232316fef422e /src/newt/classes/com
parent5ece52d5d7f4fd815199acd6cb0f4e6f586e8252 (diff)
Resume GLAnimatorCtrl after destroying, so it back in state for either this resource at recreation or it's possible other drawables
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/impl/WindowImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/impl/WindowImpl.java b/src/newt/classes/com/jogamp/newt/impl/WindowImpl.java
index 098c84da5..f0aa9effd 100644
--- a/src/newt/classes/com/jogamp/newt/impl/WindowImpl.java
+++ b/src/newt/classes/com/jogamp/newt/impl/WindowImpl.java
@@ -759,6 +759,9 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer, ScreenMod
lifecycleHook.destroyActionPreLock();
}
runOnEDTIfAvail(true, destroyAction);
+ if(null!=lifecycleHook) {
+ lifecycleHook.resumeRenderingAction();
+ }
}
}