al_load_bitmap not working for bmp
I have a test.png and a test.bmp in the same folder as my project files. I can load and draw the test.png, but when I try the same thing for the test.bmp it loads a black image.
Is there something that I'm forgetting to do here? I'm lost.
Either the image isn't where you expect it to be or it's too big.
Edit: Oh the PNG works.
Upload and attach the BMP image to your post.
I edited the bmp and saved it with 24 bit depth, that works, so its because the bmp was 32 bit. Any reason why 32 bit might not work in this basic set up? and thanks for the reply.
Thread #607294. Printed from Allegro.cc
What platform is this on?
In practice you should probably stick with the PNG though, it'll be smaller than the BMP.