From 473e25e758ece83b1eff2722f13dc4d65ee81c27 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 19 Nov 2010 21:48:20 +0100 Subject: Resume GLAnimatorCtrl after destroying, so it back in state for either this resource at recreation or it's possible other drawables --- src/newt/classes/com/jogamp/newt/impl/WindowImpl.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/newt/classes/com/jogamp') 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(); + } } } -- cgit v1.2.3