summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-02-13 00:36:08 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-02-13 00:36:08 +0000
commit6610c2b084a01e72ac5c1602d17ef4b6b25906f6 (patch)
treeb524bd42cbe9dc44929237fa69bc48138d918f8e /src/mesa/drivers/glide
parent2c9bf83b906c16a8a47b3b8b371f9de02b8362e1 (diff)
initialize fxMesa->verbose with MESA_FX_INFO env var
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r--src/mesa/drivers/glide/fxdd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index 16c11f9958..d7e7293b21 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;