Hi, I have compiled a Allegro graphics program from a tutorial but the cursor is White squared and the main don’t quit properly.
#include <allegro.h>
int main(void)
{
allegro_init();
set_windows_title("Hello");
install_keyboard();
//install_mouse();
enable_hardware_cursor();
set_gfx_mode(GFX_AUTODETECT_WINDOWED,640,480,0,0);
readkey();
allegro_exit();
return 0;
}
END_OF_MAIN();