From: Brian Paul Date: Sun, 13 Feb 2000 00:36:08 +0000 (+0000) Subject: initialize fxMesa->verbose with MESA_FX_INFO env var X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6610c2b084a01e72ac5c1602d17ef4b6b25906f6;p=mesa.git initialize fxMesa->verbose with MESA_FX_INFO env var --- diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 16c11f99581..d7e7293b218 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -588,6 +588,11 @@ int fxDDInitFxMesaContext( fxMesaContext fxMesa ) else fxMesa->maxPendingSwapBuffers=2; + if(getenv("MESA_FX_INFO")) + fxMesa->verbose=GL_TRUE; + else + fxMesa->verbose=GL_FALSE; + fxMesa->color=0xffffffff; fxMesa->clearC=0; fxMesa->clearA=0;