Re: glReadPixels/[Mesa-dev] Bugfix for DrawPixel

1999-11-30 Thread Brian Paul
Bernd Kreimeier wrote: > > Brian Paul wrote: > > I recently rewrote the fxDDReadRGBASpan() and fxDDReadRGBAPixels() > > functions. Before, these functions were returning bad (imprecise) > > values. Instead of doing bit masking and shifts a lookup table is > > now used. > > This is in the 3_2

Re: glReadPixels/[Mesa-dev] Bugfix for DrawPixel

1999-11-30 Thread Bernd Kreimeier
Brian Paul wrote: > I recently rewrote the fxDDReadRGBASpan() and fxDDReadRGBAPixels() > functions. Before, these functions were returning bad (imprecise) > values. Instead of doing bit masking and shifts a lookup table is > now used. This is in the 3_2 stable branch I take it? > The initial

Re: [Mesa-dev] Bugfix for DrawPixel

1999-11-29 Thread Brian Paul
Michael Vance wrote: > > On Fri, Nov 26, 1999 at 12:48:47PM -0700, Brian Paul wrote: > > > Furthermore, glCopyPixels needed the same fix. > > As an addendum, is there a color swap bug in the 3Dfx glReadPixels > implementation? I was going to have a hack at fixing it (ReadRGBASpan, > et al), but

Re: [Mesa-dev] Bugfix for DrawPixel

1999-11-29 Thread Michael Vance
On Fri, Nov 26, 1999 at 12:48:47PM -0700, Brian Paul wrote: > Furthermore, glCopyPixels needed the same fix. As an addendum, is there a color swap bug in the 3Dfx glReadPixels implementation? I was going to have a hack at fixing it (ReadRGBASpan, et al), but there seem to be two separate imps in

Re: [Mesa-dev] Bugfix for DrawPixel

1999-11-26 Thread Brian Paul
Brian Paul wrote: > > [EMAIL PROTECTED] wrote: > > > > Hi, > > > > here is a bugfix for DrawPixel: > > > > When depth test is disabled but fog enabled, the z-span for "gl_fog_rgba_span" > > is uninitialized. > > > > [Bug found with Flightgears panel & GLX-MGA - I don't know if FlightGear > > rea

Re: [Mesa-dev] Bugfix for DrawPixel

1999-11-26 Thread Brian Paul
[EMAIL PROTECTED] wrote: > > Hi, > > here is a bugfix for DrawPixel: > > When depth test is disabled but fog enabled, the z-span for "gl_fog_rgba_span" > is uninitialized. > > [Bug found with Flightgears panel & GLX-MGA - I don't know if FlightGear > really wants a fogged panel but that's the

[Mesa-dev] Bugfix for DrawPixel

1999-11-26 Thread A . Borrmann
Hi, here is a bugfix for DrawPixel: When depth test is disabled but fog enabled, the z-span for "gl_fog_rgba_span" is uninitialized. [Bug found with Flightgears panel & GLX-MGA - I don't know if FlightGear really wants a fogged panel but that's their bug ;-)] Andree Index: drawpix.c ===