TGA alpha glitch

24 bit fine but 32 bit scrambled? I followed Nehe’s tutorial

24 bit should be three components (RGB). So 32 bits are four components, because it’s RGBA. Are you passing the correct color format?