From: Brian P. <br...@va...> - 2001-06-22 16:44:15
|
Allen Barnett wrote: > > Hi, > > In the routine _mesa_DrawPixels in the file src/drawpix.c, the current > raster position is converted to integer coordinates through the IROUND > function (round to nearest, I think?). However, in the routine > _mesa_Bitmap, the raster position is just cast to a GLint. At least on > my system (RedHat 7.1/i386, gcc 2.96), these occasionally give different > values, which I can see as inconsistencies in the positioning of bitmaps > and pixmaps. I was wondering what the reason was for treating these > conversions differently? (_mesa_CopyPixels gets the IROUND, too.) Sounds like a bug. glBitmap should use rounding as well. > Also, I downloaded the tar file of MesaLib-3.5 from SourceForge and > tried to build it from scratch, but it would not complete its > ./configure run unless src-glut/ was installed from MesaDemos, too. > Perhaps this is worth a note in the documentation? The other minor > glitch I noticed was that RH 7.1 installs the Glide libraries by > default, which causes ./configure to pick up them up and compile the > Glide driver. This treats you to the message: WARNING: This Mesa Library > includes the Glide driver... when you first run a program. Maybe Mesa > could be configured w/o Glide by default now that DRI is the way to go? Try ./configure --without-glide -Brian |