From: Chia-I Wu Date: Thu, 29 Oct 2009 04:14:01 +0000 (-0600) Subject: swrast: added braces X-Git-Tag: mesa-7.8~2715 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59b29516af2d4d8f83723559921a3709eb77a7d2;p=platform%2Fupstream%2Fmesa.git swrast: added braces --- diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 5ecc769..d80a676 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -1101,13 +1101,15 @@ _swrast_choose_triangle( GLcontext *ctx ) #if CHAN_BITS != 8 USE(general_triangle); #else - if (format == MESA_FORMAT_RGBA8888 && !_mesa_little_endian()) + if (format == MESA_FORMAT_RGBA8888 && !_mesa_little_endian()) { /* We only handle RGBA8888 correctly on little endian * in the optimized code above. */ USE(general_triangle); - else + } + else { USE(affine_textured_triangle); + } #endif } }