On Thu, Jan 20, 2000 at 04:07:20PM +0200, Eero Pajarre wrote:
> I had not been following the latest CVS version for a 
> while, So I was pleasantly surprised to find that
> the RGB values were working correctly on the 
> texts in the mesa/3dfx/demos on my win32/Voodoo2.
> (Last time when I tried it the R and B were "swapped")
> 
> Actually instead of who fixed it, I would be
> even more interested in "how it was done?". 
> What was the reason for the problem?

The problems manfested themselves in any pixel read/write of the
buffer. There was code to handle the byte swapping, but it was being
turned on my a compile time switch. Unfortunetly, which model of Voodoo
card you're using changes which byte order you should be using. I
tracked down the problem which I was working on our VB/V3 drivers for
Linux. Brian added a nice lookup table to the process.

                                          - |Daryll


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to