Re: [AD] Allegro on amd64-linux |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Chris wrote:
Okay, this patch should fix it. The split_modex_screen function is exposed if the platform can possibly support Mode-X, but if Mode-X support isn't compiled in, the function will do nothing. I also merged the two GFX_HAS_VGA and GFX_HAS_MODEX macros into just one GFX_HAS_VGA macro, since the two are never defined seperately and, technically speaking, Mode-X /is/ VGA. Make sure to revert my previous patch before trying to apply this one.
Looks mostly fine, but I think you missed a #ifdef GFX_MODEX at the top of modex.c (or it is meant to be like that?). Then you need change the part which defines split_modex_screen.
Peter
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |