initialize fxMesa->verbose with MESA_FX_INFO env var
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 13 Feb 2000 00:36:08 +0000 (00:36 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 13 Feb 2000 00:36:08 +0000 (00:36 +0000)
src/mesa/drivers/glide/fxdd.c

index 16c11f99581f698c9c8a8c56890c792ff0334458..d7e7293b218e23fb419b041a508bc09526fd84a1 100644 (file)
@@ -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;