perhaps?
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c
index 5ecc769..2fc7ec2 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
}
}
On Wed, Oct 28, 2009 at 8:44 PM, Brian Paul <[email protected]> wrote:
> OK, the merge is done.
>
> Here's a quick summary of the changes:
>
> * The old gl_texture_format struct is replaced by a new gl_format enum.
> * The new formats are defined in formats.h and all the helper
> functions are in formats.c
> * textures and renderbuffers now use the same format info/fields
> * some special case code for compressed vs. uncompressed textures was unified.
> * new XRGB8888 and X8Z24 formats
> * removed swrast-only/GLchan texture formats
>
> I don't know of any regressions but I haven't tested all the DRI
> drivers. If anyone finds any problems, let me know (please provide
> details) and I'll help you ASAP.
>
> -Brian
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Mesa3d-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev