|
From: Roger H. <rog...@mi...> - 2007-10-02 12:43:45
|
Er, yes. I have a big #if for those two cases. I have some other changes too if anyone would like to check them in for me. Most important one is that there is an unitialised field in one of the records which causes speckling which I've fixed in my version. Roger. On 2 Oct, 2007, at 11:58, Daniele Cavallini wrote: > There is a little problem with rayshade > In function RSRasterizer_Rasterize_RGB_Span_PM when you compile for > windows in > case kQ3PixelTypeRGB32: > case kQ3PixelTypeARGB32: > > is always > pixel = ( correct ( rgbaPixels[i][3] ) << 24) | // Alpha > ( correct ( rgbaPixels[i][0] ) << > 16) | > ( correct ( rgbaPixels[i][1] ) << > 8) | > ( correct ( rgbaPixels[i][2] ) << > 0 ) ; > *((unsigned int *)rowAddr) = pixel; > > regardless of /QUESA_HOST_IS_BIG_ENDIAN/ . > > > Same for kQ3PixelTypeRGB24 > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quesa-develop mailing list > Que...@li... > https://lists.sourceforge.net/lists/listinfo/quesa-develop |