---- Reported by sgothel@jausoft.com 2010-03-22 12:25:21 -0400 ---- ---- Reported by mbien@fh-landshut.de 2009-08-28 00:01:57 ---- It is currently not possible to create TextureData outside the gl thread. public static void main(String[] args) throws MalformedURLException, IOException { BufferedImage image = ImageIO.read(new URL("http://www.google.com/intl/en_ALL/images/logo.gif")); AWTTextureIO.newTextureData(image, false); } throws Exception in thread "main" javax.media.opengl.GLException: No OpenGL context current on this thread at javax.media.opengl.GLContext.getCurrentGL(GLContext.java:159) at com.sun.opengl.util.texture.awt.AWTTextureData.createFromImage(AWTTextureData.java:173) at com.sun.opengl.util.texture.awt.AWTTextureData.<init>(AWTTextureData.java:102) at com.sun.opengl.util.texture.awt.AWTTextureIO.newTextureDataImpl(AWTTextureIO.java:117) at com.sun.opengl.util.texture.awt.AWTTextureIO.newTextureData(AWTTextureIO.java:59) at org.yourorghere.SimpleJOGL2.main(SimpleJOGL2.java:35) --- Bug imported by sgothel@jausoft.com 2010-03-22 12:25 EDT --- This bug was previously known as _bug_ 975 at http://kenai.com/bugzilla/show_bug.cgi?id=975 Unknown platform PC. Setting to default platform "". Unknown operating system All. Setting to default OS "". Actual time not defined. Setting to 0.0 ---- Additional Comments From sgothel@jausoft.com 2010-03-22 12:49:45 -0400 ---- *** http://jogamp.org/bugzilla/show_bug.cgi?id=4 has been marked as a duplicate of this bug. *** ---- Additional Comments From sgothel@jausoft.com 2010-03-22 12:50:23 -0400 ---- *** http://jogamp.org/bugzilla/show_bug.cgi?id=5 has been marked as a duplicate of this bug. *** --- Bug imported by sgothel@jausoft.com 2010-03-24 08:04 EDT --- This bug was previously known as _bug_ 3 at http://jogamp.org/bugzilla/show_bug.cgi?id=3 Unknown platform unknown. Setting to default platform "". Unknown operating system unknown. Setting to default OS "".
fix platform and os.
duplicate .. *** This bug has been marked as a duplicate of bug 378 ***