Hi all,
I am still learning opengl so I may have done something trivial wrong:
Playing around with textures I got it working with a border of 0. But whenever I use border=1 in glTexImage2D either BufferChecks complaints (it says that the image data is shorter than what is needed) or the texture image is displayed wrong (pixel lines are shifted as if image width has been wrong)
The way I understood it you have to pass the image size to glTexImage2D and not the texture size which makes a difference of width/height±2 depending on border=1/0.
But as I said: When passing the actual image size BufferChecks complaints and when passing the texture size “my eyes” complain.
Is it possible that LWJGL misinterprets the border value and therefore calculates an incorrect expected buffer size?
thx
LastBoyScout