[AD] some problem in cdefsxxx.h

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


in cdefs8.h line 58

#define GET_PATTERN_PIXEL(x,y)
GET_MEMORY_PIXEL(OFFSET_PIXEL_PTR(PATTERN_LINE(y), (x)))


i think the correct should be

#define GET_PATTERN_PIXEL(x,y)
GET_MEMORY_PIXEL(OFFSET_PIXEL_PTR(PATTERN_LINE(y), ((x) - _drawing_x_anchor)
& _drawing_x_mask))

in others cdefs16.h there are same problem

Ronaldo



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