Hello,
I also tried the GL3.0 samples, and I also got an error while reading the TGA files.
It's exactly the same error than the one reported by chronozphere.
Modifying the LoadTGA function this way seems to fix the error :
(Ps : I Use Delphi2007)Code:function loadTGA(const filename: string;var width: GLushort; var height: GLushort; var format: GLenum; var pixelData: GLbufferb): GLboolean;
Bookmarks