[AD] minor issues

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


Hi everyone!

Have you ever worried about:
memset(bmp->line[0], 0, bitmap_color_depth(bmp) / 8 * 800 * 600);
beeing faster (~20%) than clear_bitmap(bmp)? What do yout think about modifying clear_bitmap() to see if the argument is truecolor memory bitmap and then use memset?

And there is another little thing: the X graphics driver should be called GFX_XWINDOW, not GFX_XWINDOWS, if anyone cares about it.


--
Milan Mimica






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