I coding a game on C++(20) with Allegro 5
library. I added a flag ALLEGRO_RESIZABLE
with al_set_new_display_flags
to main ALLEGRO_DISPLAY
for get resizable window.
BUT. Now my bitmaps resizable too: when i resize window with my mouse my bitmaps resize too.
I was trying to fix it using al_draw_scalled_bitmap
, but it's a crutch and not working(At least I can't do it good). I don't like it. Maybe you know how do it.
And I feel there is a better way.
How can I "disable" resizing bitmap ?
I don't know if there is a better way, Thanks anyway!