Re: [AD] possible bug in POLYTYPE_GCOL

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


tom st denis wrote :
> 
> Ok ya I am having fun with the 3d code.

Great !

> 
> Anyways, try making a simple triangle where one of the points is
> clipped then render it with POLYTYPE_GCOL in a 15bpp (it happens in
> other modes too but let's be consistent).  The clipped triangles will
> have the verteces color set wrong...

Hmmm ! Did you read the docs ? 
At clip3d_f description : "[snip] However, no provision is made for
high/truecolor GCOL."
Actually the function can not guess if the polygons will be rendered in
paletted mode or high/truecolor mode so it can not handle correctly both
cases for *GCOL* mode.

	Bertrand.



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