MrT
07-10-2002, 09:08 AM
Hi,
Loading certain bitmap files is failing on me. The command:
HBITMAP hBmp = (HBITMAP) ::LoadImage (NULL, (LPCTSTR) fileName, IMAGE_BITMAP, 0, 0,LR_LOADFROMFILE | LR_CREATEDIBSECTION);
Is returning NULL, (but only for certain bitmaps). Can I use DevIL to get around this and save some work in my loading of textures that will avoid this problem?
Thanks
Loading certain bitmap files is failing on me. The command:
HBITMAP hBmp = (HBITMAP) ::LoadImage (NULL, (LPCTSTR) fileName, IMAGE_BITMAP, 0, 0,LR_LOADFROMFILE | LR_CREATEDIBSECTION);
Is returning NULL, (but only for certain bitmaps). Can I use DevIL to get around this and save some work in my loading of textures that will avoid this problem?
Thanks