Bug 143 - Pbuffer creation in display() causes exception
Summary: Pbuffer creation in display() causes exception
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL: http://www.JavaGaming.org/cgi-bin/JGN...
Depends on:
Blocks:
 
Reported: 2005-02-22 02:38 CET by Sven Gothel
Modified: 2010-03-24 07:47 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments
Test case for bug (13.17 KB, text/plain)
2005-02-22 14:39 CET, Sven Gothel
Details

Note You need to log in before you can comment on or make changes to this 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.