Advertisement

BMP as Resource

Started by December 25, 2000 04:08 PM
1 comment, last by LizardKingX 23 years, 10 months ago
Hi, I''m new to OpenGL and I try to port the code from nehe to mfc. Now my question: I use the method LoadBMP from the tutorials, the argument is a filepath, but i want to store the bmp-file as a resource, so how can i give the method "auxDIBImageLoad" a Resource-ID and not a path. mfg LizardKing sorry for my shit english, but im from germany +#+#+#+#+#+#+#+#+#+#+ I''''m the Lizard King, I can do anything +#+#+#+#+#+#+#+#+#+#+#+
+#+#+#+#+#+#+#+#+#+#+I''m the Lizard King, I can do anything+#+#+#+#+#+#+#+#+#+#+#+
check out Bas Kuenen's texture class. It can load textures from resources.

JoeMont001@programmer.net www.polarisoft.n3.net

Edited by - Julio on December 25, 2000 6:41:08 PM
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Advertisement
thx a lot,
will check it now

+#+#+#+#+#+#+#+#+#+#+I''m the Lizard King, I can do anything+#+#+#+#+#+#+#+#+#+#+#+

This topic is closed to new replies.

Advertisement