ref: 9e8b686503b15d0be8e0d50536a355c43530c008
parent: f53a8ac74db8f237af281a199da46019636ebcf7
author: Azamat H. Hackimov <azamat.hackimov@gmail.com>
date: Tue Apr 5 07:51:37 EDT 2016
Experimental Allegro4 support (FAIL)
--- a/dumb/cmake/CMakeLists.txt
+++ b/dumb/cmake/CMakeLists.txt
@@ -141,8 +141,8 @@
set(ALLEGRO4_TARGETS "")
if(BUILD_ALLEGRO4)
- add_library(aldumb ${ALLEGRO_SOURCES})
- set(ALLEGRO4_TARGETS ${ALLEGRO_TARGETS} aldumb)
+ add_library(aldmb ${ALLEGRO_SOURCES})
+ set(ALLEGRO4_TARGETS ${ALLEGRO_TARGETS} aldmb)
endif()
set(EXAMPLE_TARGETS "")
--- a/dumb/src/allegro/datmod.c
+++ b/dumb/src/allegro/datmod.c
@@ -36,7 +36,7 @@
if (!df)
return NULL;
- duh = dumb_read_mod(df);
+ duh = dumb_read_mod(df, 0);
dumbfile_close(df);
--- a/dumb/src/allegro/datmodq.c
+++ b/dumb/src/allegro/datmodq.c
@@ -36,7 +36,7 @@
if (!df)
return NULL;
- duh = dumb_read_mod_quick(df);
+ duh = dumb_read_mod_quick(df, 0);
dumbfile_close(df);