2
votes
1answer
362 views

How to refresh allegro textprintf_centre_ex text upon keypress?

I'm trying to print the coordinates of a drawn square upon movement. The problem is that the x value doesn't get refreshed on screen. This is the code I have: #include <allegro.h> BITMAP ...