[AD] Pixel format matching patch.

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


_al_try_display_format() tries to match to display format. While
format is ANY_ALPHA, and display is RGB565 we fall in to a switch, but
no match is found. In the result ANY_ALPHA is overrided by RGB565.
Default was added to the switch which returns false indicating that
match fail.

-- 
thedmd, Michał Cichoń
Artifex Mundi
michcic@xxxxxxxxxx
http://www.artifexmundi.com

Attachment: allegro_pixels.patch
Description: Binary data



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