Bug 143

Summary: Pbuffer creation in display() causes exception
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/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1109003892
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: Test case for bug

Description Sven Gothel 2010-03-24 07:47:32 CET


---- Reported by kbr 2005-02-22 14:38:33 ----

Creating a pbuffer and forcing its display before it is initialized causes the
OpenGL context stack's state to be corrupted. An example of this corruption is
attached.



---- Additional Comments From kbr 2005-02-22 14:39:33 ----

Created an attachment
Test case for bug




---- Additional Comments From kbr 2005-02-22 16:01:34 ----

More cleanup code was needed on the path through GLContext.invokeGL() where the
makeCurrent of the new context failed. I'm not 100% confident of this bug fix
but it definitely solves this problem and doesn't appear to break any of the
existing demos.




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

This bug was previously known as _bug_ 143 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=143
Imported an attachment (id=43)

The original submitter of attachment 43 [details] is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.