Re: [AD] Proposal: set_rgb_mode

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


Peter Wang wrote:

void set_rgb_mode(int rgb_mode);
   Set color shifting values for truecolour bitmaps. Pass non-zero to
   make Allegro use RGB ordering, or zero to use BGR ordering.


Do you also plan to make later calls to set_gfx_mode() prefer
the given order? Is this possible? Anyway, I like the idea. I
think it should even be allowed to set an rgb order other than
screen's when a graphics mode is set (so drawing to screen
would look wrong until you changed back, but you can
communicate with other libraries).

Sven



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