Getting a bit of a problem with drawing a bitmap
I as a huge pleb, have a pleblem.
I have been admiring and dabbing here and there in the Allegro API and been having a lot of fun.
Sadly, I have come across a small... Pleblem.
I'm getting this error (attatchment: pleblem.png)
it compiles fine, and executes but as soon as it executes it gives the problem.
the jist of the code is
was there an update that broke/changed something, could someone please point me in the right direction?
Thanks in advance guys!
If you were to chase down the error, you'd see it lead you here:
137/* Function: al_draw_tinted_bitmap
139void al_draw_tinted_bitmap(ALLEGRO_BITMAP *
bitmap, tint, 0
bitmap->w, bitmap->h, dx, dy, flags);
Your bitmap is null. The solution is somewhere in this article, probably the bit about accessing the file from the properly qualified path.
Thread #612831. Printed from Allegro.cc
Oh wow thankyou!
Thankyou so much man!
Turns out I had to put the full directory in, all the way from C:\
Anyway thanks man, I really appreciate this!