diff options
author | Chia-I Wu <[email protected]> | 2009-10-28 22:14:01 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-28 22:14:01 -0600 |
commit | 59b29516af2d4d8f83723559921a3709eb77a7d2 (patch) | |
tree | 6ab6800571e68ea33d85640472469bd3a38f9835 /src/mesa/swrast/s_triangle.c | |
parent | c6bd5fae0c2af1256ad552d583d9659712807214 (diff) |
swrast: added braces
Diffstat (limited to 'src/mesa/swrast/s_triangle.c')
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 5ecc7692c50..d80a6761f40 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 } } |