BMP as Resource
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement