Bug 260

Summary: "GLException: Surface already locked" after failed makeCurrent
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
URL: http://www.javagaming.org/forums/index.php?topic=15709.0
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:49:50 CET


---- Reported by kbr 2007-01-17 10:20:06 ----

The above forum posting, as well as some others from earlier releases of JOGL,
shows that when a makeCurrent() call for an on-screen GLContext fails, the
system starts producing "surface already locked" errors on subsequent calls to
makeCurrent().



---- Additional Comments From kbr 2007-01-17 10:23:48 ----

Fixed Issue 260: "GLException: Surface already locked" after failed makeCurrent

Added checking for thrown run-time exceptions to on-screen GLContext
makeCurrent() implementations on all three major supported platforms; now
unlocks the underlying GLDrawable if an exception is thrown.




---- Additional Comments From kbr 2007-01-20 17:19:29 ----

Fixed as described above.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 260 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=260