Login  Register

Re: Texture NPOT

Posted by elect on Sep 14, 2015; 9:32am
URL: https://forum.jogamp.org/Texture-NPOT-tp4035280p4035290.html

Your code relies fully on the old OpenGL

paolofuse wrote
Don't care if this code is deprecated, I know, but it must work. The commented code works, as wrote before.
Thanks
This is the wrong way of thinking, read this why you shouldn't use anymore fixed function pipeline OpenGL.
I would like you to understand your code, because if you do understand it, you can debug it, you can enhance it, you can modify it based on your needs and starting implementing from that.

If you don't understand what does what exactly, as soon as you modify something and it doesn't work anymore, you will be back here.

I can help you, I can write an Hello Texture for you if you want and explain all the passages