From 6610c2b084a01e72ac5c1602d17ef4b6b25906f6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 13 Feb 2000 00:36:08 +0000 Subject: [PATCH] initialize fxMesa->verbose with MESA_FX_INFO env var --- src/mesa/drivers/glide/fxdd.c | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.30.2