Re: [AD] getpixel error

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


On Sat, Jan 17, 2009 at 3:57 PM, frederico schardong
<frede.sch@xxxxxxxxxx> wrote:
> Ok,
>
> I do the changes, but now every pixel is 1, and r=1, g=0,b=0
>

Could have to do with color depth conversion. Try placing this before
the load_bitmap call:

set_color_depth(32);




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