mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Avoid compiling error with Allegro 4.2
This commit is contained in:
parent
ed4ff82a5e
commit
8902b3701f
@ -682,7 +682,9 @@ public:
|
||||
throw std::runtime_error("Cannot initialize Allegro library");
|
||||
|
||||
set_uformat(U_UTF8);
|
||||
#if MAKE_VERSION(ALLEGRO_VERSION, ALLEGRO_SUB_VERSION, ALLEGRO_WIP_VERSION) >= MAKE_VERSION(4, 4, 0)
|
||||
_al_detect_filename_encoding();
|
||||
#endif
|
||||
install_timer();
|
||||
|
||||
// Register PNG as a supported bitmap type
|
||||
|
Loading…
x
Reference in New Issue
Block a user