Archived

This topic is now archived and is closed to further replies.

Peaceman

TGA loading problem

Recommended Posts

Hi, I''ve just downloaded Nehe''s tut #25, the one with the TGA loading stuff. It worked fine, and I could copy the code to one of my programs and substitute the bmp loading routine with a TGA one. But I only am able to load his tga examples, not mine created with Paintshop Pro 7. What''s the problem?

Share this post


Link to post
Share on other sites
His tutorial only loads uncompressed TGA files (check the documentation), those written in PaintShop are likely to be compressed and so wont work.
I think one of Nehes advanced tutorials might cover this (lessons 30-37)

Share this post


Link to post
Share on other sites