diff options
Diffstat (limited to 'src/mesa')
| -rw-r--r-- | src/mesa/drivers/dri/r200/r200_tcl.c | 39 | 
1 files changed, 19 insertions, 20 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_tcl.c b/src/mesa/drivers/dri/r200/r200_tcl.c index f3f558b7de..41b68cc0ca 100644 --- a/src/mesa/drivers/dri/r200/r200_tcl.c +++ b/src/mesa/drivers/dri/r200/r200_tcl.c @@ -687,25 +687,24 @@ static char *getFallbackString(GLuint bit)  void r200TclFallback( GLcontext *ctx, GLuint bit, GLboolean mode )  { -   r200ContextPtr rmesa = R200_CONTEXT(ctx); -   GLuint oldfallback = rmesa->radeon.TclFallback; +	r200ContextPtr rmesa = R200_CONTEXT(ctx); +	GLuint oldfallback = rmesa->radeon.TclFallback; -   if (mode) { -      rmesa->radeon.TclFallback |= bit; -      if (oldfallback == 0) { -	 if (R200_DEBUG & RADEON_FALLBACKS) -	    fprintf(stderr, "R200 begin tcl fallback %s\n", -		    getFallbackString( bit )); -	 transition_to_swtnl( ctx ); -      } -   } -   else { -      rmesa->radeon.TclFallback &= ~bit; -      if (oldfallback == bit) { -	 if (R200_DEBUG & RADEON_FALLBACKS) -	    fprintf(stderr, "R200 end tcl fallback %s\n", -		    getFallbackString( bit )); -	 transition_to_hwtnl( ctx ); -      } -   } +	if (mode) { +		rmesa->radeon.TclFallback |= bit; +		if (oldfallback == 0) { +			if (R200_DEBUG & RADEON_FALLBACKS) +				fprintf(stderr, "R200 begin tcl fallback %s\n", +						getFallbackString( bit )); +			transition_to_swtnl( ctx ); +		} +	} else { +		rmesa->radeon.TclFallback &= ~bit; +		if (oldfallback == bit) { +			if (R200_DEBUG & RADEON_FALLBACKS) +				fprintf(stderr, "R200 end tcl fallback %s\n", +						getFallbackString( bit )); +			transition_to_hwtnl( ctx ); +		} +	}  }  | 
