I am reffering to this code:http://www.java-gaming.org/forums/index.php?topic=6286.0
answer by nnevatie.
I have modified the code for GL_TEXTURE_RECTANGLE_EXT to GL_TEXTURE_2D by
1. writing 2D instead of RECTANGLE_EXT and
2. do dimensions to 2^n and
3. modified texcoord to range [0,1]: just changed the 2 following ranges from vertex and texcoord.
Problem: He just draws me the clear color and not my correct picture.
I have a 300*300 window
I have rendered differently: 256*256 or 512*512 and combinations of them, none do work.
Is there a problem with CopyTexImage?
I used both: copytexsubimage and copyteximage. same problem: black screen when drawing the texture.