[AD] Re: Serious Bugs in the DJGPP port of ALLEGRO in 4.1.17 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Ooops.
It seems that the server cut down the attached .diff files.
Sending them again.
Marcio.
--- src\misc\vbeaf.c.orig 2004-10-23 05:05:46.000000000 +0000
+++ src\misc\vbeaf.c 2005-01-08 22:41:32.000000000 +0000
@@ -2013,8 +2013,14 @@
_screen_vtable.vline = (af_driver->DrawLine) ? vbeaf_vline_a : ((af_driver->DrawRect) ? vbeaf_vline_b : orig_vline);
_screen_vtable.line = (af_driver->DrawLine) ? vbeaf_line : orig_line;
_screen_vtable.rectfill = (af_driver->DrawRect) ? vbeaf_rectfill : orig_rectfill;
+
+/* Original line:
_screen_vtable.triangle = (af_driver->DrawTrap) ? vbeaf_triangle : NULL;
+ Modified line: */
+ _screen_vtable.triangle = NULL; /* Don't know how to fix this.
+ So defining _screen_vtable.triangle as NULL */
+
vbeaf_fg_mix = vbeaf_bg_mix = (_drawing_mode == DRAW_MODE_XOR) ? 3 : 0;
SAFISH_CALL(
--- src\misc\modex.c.orig 2004-11-13 05:05:44.000000000 +0000
+++ src\misc\modex.c 2005-01-08 22:32:30.000000000 +0000
@@ -205,6 +205,8 @@
NULL, NULL, NULL, NULL, /* no hardware cursor */
NULL, /* no drawing mode hook */
NULL, NULL, /* no state saving */
+ NULL, /* AL_METHOD(void, set_blender_mode, (int mode, int r, int g, int b, int a)); */
+ /* The line above was missing !!! - MAAF 2005-01-08 */
xtended_fetch_mode_list,
640, 400,
TRUE,
--- src\dos\dmouse.c.orig 2004-12-11 05:05:32.000000000 +0000
+++ src\dos\dmouse.c 2005-01-08 21:39:12.000000000 +0000
@@ -126,7 +126,8 @@
int33_set_speed,
int33_get_mickeys,
NULL,
- NULL
+ NULL,
+ NULL
};
@@ -152,7 +153,8 @@
int33_set_speed,
int33_get_mickeys,
NULL,
- NULL
+ NULL,
+ NULL
};
@@ -176,7 +178,8 @@
int33_set_speed,
int33_get_mickeys,
NULL,
- NULL
+ NULL,
+ NULL
};
--- src\dos\vesa.c.orig 2004-10-23 05:05:44.000000000 +0000
+++ src\dos\vesa.c 2005-01-08 22:04:50.000000000 +0000
@@ -88,6 +88,7 @@
NULL, NULL, NULL, NULL, /* no hardware cursor */
NULL, /* no drawing mode hook */
NULL, NULL, /* no state saving */
+ NULL, /* This line was missing !!! - MAAF 2005-01-08 */
vesa_fetch_mode_list, /* aye! */
0, 0, FALSE, 0, 0, 0, 0, FALSE
};
@@ -111,6 +112,7 @@
NULL, NULL, NULL, NULL, /* no hardware cursor */
NULL, /* no drawing mode hook */
NULL, NULL, /* no state saving */
+ NULL, /* This line was missing !!! - MAAF 2005-01-08 */
vesa_fetch_mode_list, /* aye! */
0, 0, FALSE, 0, 0, 0, 0, FALSE
};
@@ -136,6 +138,7 @@
NULL, NULL, NULL, NULL, /* no hardware cursor */
NULL, /* no drawing mode hook */
NULL, NULL, /* no state saving */
+ NULL, /* This line was missing !!! - MAAF 2005-01-08 */
vesa_fetch_mode_list, /* aye! */
0, 0, FALSE, 0, 0, 0, 0, FALSE
};