From e2df3d01afaa6919b82962a087056f517bb94193 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Sat, 28 Feb 2004 13:25:25 +0000 Subject: Only print message about disabling HW TCL if the chip supports it in the first place, and make the message a bit clearer. + Remove some extraneous whitespace. --- src/mesa/drivers/dri/r200/r200_context.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/r200') diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index 99765341d65..977dcf38d41 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -463,8 +463,10 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual, } else if (tcl_mode == DRI_CONF_TCL_SW || getenv("R200_NO_TCL") || !(rmesa->r200Screen->chipset & R200_CHIPSET_TCL)) { - rmesa->r200Screen->chipset &= ~R200_CHIPSET_TCL; - fprintf(stderr, "disabling TCL support\n"); + if (rmesa->r200Screen->chipset & R200_CHIPSET_TCL) { + rmesa->r200Screen->chipset &= ~R200_CHIPSET_TCL; + fprintf(stderr, "Disabling HW TCL support\n"); + } TCL_FALLBACK(rmesa->glCtx, R200_TCL_FALLBACK_TCL_DISABLE, 1); } if (rmesa->r200Screen->chipset & R200_CHIPSET_TCL) { -- cgit v1.2.3