Additional information.
Code works if I change from RGB16 (GL_UNSIGNED_SHORT) to RGB8 (GL_UNSIGNED_BYTE), so problem seems to be with 1D textures using GLushort.
Additional information.
Code works if I change from RGB16 (GL_UNSIGNED_SHORT) to RGB8 (GL_UNSIGNED_BYTE), so problem seems to be with 1D textures using GLushort.