From 920023240c2fc42675f318732b43bdc6f339113c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 29 Mar 2006 23:42:44 +0000 Subject: put braces around RENDER_SPAN macro when called, not when defined. Fixes -pedantic warnings in x11 driver --- src/mesa/swrast/s_tritemp.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_tritemp.h') diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h index d4c9fdd7cb..7f581561ec 100644 --- a/src/mesa/swrast/s_tritemp.h +++ b/src/mesa/swrast/s_tritemp.h @@ -2,7 +2,7 @@ * Mesa 3-D graphics library * Version: 6.5 * - * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -1159,7 +1159,9 @@ static void NAME(GLcontext *ctx, const SWvertex *v0, #ifdef INTERP_INDEX CLAMP_INTERPOLANT(index, indexStep, len); #endif - RENDER_SPAN( span ); + { + RENDER_SPAN( span ); + } } /* -- cgit v1.2.3