projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6bd5fa
)
swrast: added braces
author
Chia-I Wu
<olvaffe@gmail.com>
Thu, 29 Oct 2009 04:14:01 +0000
(22:14 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 29 Oct 2009 04:14:01 +0000
(22:14 -0600)
src/mesa/swrast/s_triangle.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_triangle.c
b/src/mesa/swrast/s_triangle.c
index 5ecc7692c50de0972dcdbb30f57fd70c4666fa78..d80a6761f406d45aca3b3dc2f22a85239361b99d 100644
(file)
--- 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
}
}