From 4beef4fe856690b070ba06a6caf4515aebd7171b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 2 Sep 2013 09:11:50 +0200 Subject: X11GLXDrawableFactory.Shutdown: Disable shared context destruction since it may lead to a JVM freeze .. .. on ATI fglrx driver 32bit on 64bit w/ a frozen shared GL context involved. Hence we have to rely on the driver cleanup when JVM hits 'exit', equal to the Windows implementation. --- src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/jogamp') diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java index 91beddb02..04e0fa60d 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java @@ -336,8 +336,8 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl { } if (null != sr.context) { - // may cause JVM SIGSEGV: - sr.context.destroy(); // will also pull the dummy MutableSurface + // may cause JVM SIGSEGV, or freeze (ATI fglrx 32on64 shared ctx): + // sr.context.destroy(); // will also pull the dummy MutableSurface sr.context = null; } -- cgit v1.2.3