From: Zdenek K. <ka...@in...> - 2000-09-27 11:56:49
|
> having not compiled GLX in a while, and after a rather disaterous RH7 > install (2.2.17 wouldn't compile or the RH supplied kernel), I've gone > back to Redhat 6.2 and installed a fresh CVS version of GLX > compile and install went fine... but when I run any GL program (gears, > gloss, lament, Quake3 etc, I get spammed by the following 2 lines until I > quit the app :- > > [mga] mgaClear( 16640, 0, 0, 1024, 768 ) > [mga] color > > so... what is it? and how the hell do I get rid of it :) Well probably everyone with write access to the GLX cvs was so busy they forget to fix this for one month - anyway here is the patch you may apply with patch command: --- servGL/hwglx/mga/mgaclear.c 2000/08/21 20:17:53 1.16 +++ servGL/hwglx/mga/mgaclear.c 2000/09/27 11:51:47 @@ -36,7 +36,7 @@ DMALOCALS; hwUI32 cmd; - hwMsg( 0, "mgaClear( %i, %i, %i, %i, %i )\n", mask, x, y, width, height ); + hwMsg( 10, "mgaClear( %i, %i, %i, %i, %i )\n", mask, x, y, width, height ); CHECK_CONTEXT( \ hwError("mgaDB is not valid in mgaClear().\n"); \ @@ -101,7 +101,7 @@ if ( mask & GL_COLOR_BUFFER_BIT ) { int r, g, b,a; - hwMsg( 0, "color\n" ); + hwMsg( 10, "color\n" ); r = 255 * ctx->Color.ClearColor[0]; g = 255 * ctx->Color.ClearColor[1]; @@ -130,7 +130,7 @@ unsigned int i,j; hwUI32 writeMask; - hwMsg( 0, "stencil\n" ); + hwMsg( 10, "stencil\n" ); cmd &= ~DC_solid_enable; cmd |= DC_linear_linear; writeMask = 0; -- There are three types of people in the world: those who can count, and those who can't. Zdenek Kabelac http://i.am/kabi/ kabi@i.am {debian.org; fi.muni.cz} ~ ~ ~ ~ ~ ~ ~ ~ ~ -- There are three types of people in the world: those who can count, and those who can't. Zdenek Kabelac http://i.am/kabi/ kabi@i.am {debian.org; fi.muni.cz} |