LoadTGA example

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Tue Aug 8 07:52:13 PDT 2006


Emp wrote:
> Anybody knows a good place to send the code, or is it not really worth 
> sending?
> (Don't worry, I won't be offended) 
> 
> 

I use SDL_Image for purposes as this. If there was a D homologue of 
SDL_Image, your function could belong there.
(but it is very little code, and your function should have abstracted 
the openGL texture setup, from the TGA loading.)

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-learn mailing list