[AD] split_modex_screen

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Following the change to make GFX_* constants always defined, there is now incorrect code in the test programs and examples which looks like this:

   #ifdef GFX_MODEX
      if (gfx_driver->id == GFX_MODEX)
         split_modex_screen(...);
   #endif

which doesn't compile if Mode-X is not available on the system, yet GFX_MODEX is defined. What do we do about this?

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/