Skip to main content
3 of 3
small edit
sFuller
  • 227
  • 1
  • 2
  • 12

How do I load a texture in OpenGL where the origin of the texture(0, 0) isn't in the bottom left?

When loading a texture in OpenGL, how do I specify the origin of the data I am loading?

For example, how would I load a Targa that has it's origin at the top left instead of the bottom left of the image?

sFuller
  • 227
  • 1
  • 2
  • 12