Login  Register

Re: Drawing more than a certain number of triangles at one time/method/stack crash

Posted by gouessej on Dec 17, 2015; 8:58am
URL: https://forum.jogamp.org/Drawing-more-than-a-certain-number-of-triangles-at-one-time-method-stack-crash-tp4035900p4035909.html

Please give us a SSCCE if you want to get some help. You seem to call com.jogamp.opengl.util.texture.TextureIO.newTexture() with no current OpenGL context or from the wrong thread. You can create the texture data anywhere but the texture creation requires a current OpenGL context.

Instead of blaming JOGL, show us your own code which is probably responsible for your problems.

Finally, I switched from quads to triangles several years ago without any trouble.
Julien Gouesse | Personal blog | Website