diff options
author | Brian Paul <[email protected]> | 2000-02-13 00:36:08 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-13 00:36:08 +0000 |
commit | 6610c2b084a01e72ac5c1602d17ef4b6b25906f6 (patch) | |
tree | b524bd42cbe9dc44929237fa69bc48138d918f8e /src/mesa/drivers/glide | |
parent | 2c9bf83b906c16a8a47b3b8b371f9de02b8362e1 (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.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |