Login  Register

Re: JOGL GL2.GL_REPEAT

Posted by Pixelapp on Nov 15, 2011; 7:05pm
URL: https://forum.jogamp.org/JOGL-GL2-GL-REPEAT-tp3483478p3510645.html

Ok. So here it is.

All the above code is correct, in this post.

The problem with GL_REPEAT was that my texture was not power-of-two.

Now, my mytexture.png is power of two and everything is fine.

I didn't pick up on this simple solution because my code on Android gives me no errors, however it does in JOGL.

In short, make sure your texture are power-of-two.

Finally!!!!!!!!!!!!!