Re: [AD] A silly question |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
also --- #define depos(pal, r, g, b) \ ((b) = ((pal) & 31) * 2, \ (g) = (((pal) >> 5) & 31) * 2, \ (r) = (((pal) >> 10) & 31) * 2) +++ #define depos(pal, r, g, b) \ ((b) = ((pal) & 31) * 2 +1, \ (g) = (((pal) >> 5) & 31) * 2 +1, \ (r) = (((pal) >> 10) & 31) * 2 +1)
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |