Login  Register

Re: Texture Problem (probably gl.glTexImage2D)

Posted by gouessej on Jun 02, 2015; 6:44am
URL: https://forum.jogamp.org/Texture-Problem-probably-gl-glTexImage2D-tp4034564p4034565.html

Hi

Don't reinvent the wheel except for pedagogical purposes (in order to learn).

There are some examples in jogl-demos, have you ever looked at them? Your texture object already has an id, I don't understand why you call glGenTextures, please read the documentation of the API.
Julien Gouesse | Personal blog | Website