diff options
author | Sven Gothel <[email protected]> | 2010-11-19 21:48:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-19 21:48:20 +0100 |
commit | 473e25e758ece83b1eff2722f13dc4d65ee81c27 (patch) | |
tree | b78cc2bcfd7a8ec64707f6ea590232316fef422e /src/newt | |
parent | 5ece52d5d7f4fd815199acd6cb0f4e6f586e8252 (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')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/impl/WindowImpl.java | 3 |
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(); + } } } |