diff options
author | Brian Paul <[email protected]> | 2002-01-30 16:54:02 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-01-30 16:54:02 +0000 |
commit | e0bafefd7ac911ec101876f4ea0d201309e841f2 (patch) | |
tree | bfce04761e8e70032a2da37cd09bb423933a134e /src/mesa | |
parent | 1cefc83a8802deb53a176e20fd2d23b8ce47909f (diff) |
don't use affine/persp_textured_triangle funcs when CHAN_BITS > 8
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index ace64fcaf3c..40a892294b9 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -1,4 +1,4 @@ -/* $Id: s_triangle.c,v 1.52 2002/01/28 04:25:56 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.53 2002/01/30 16:54:02 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1181,7 +1181,7 @@ _swrast_choose_triangle( GLcontext *ctx ) } } else { -#if CHAN_TYPE == GL_FLOAT +#if (CHAN_BITS == 16 || CHAN_BITS == 32) USE(general_textured_triangle); #else USE(affine_textured_triangle); @@ -1189,7 +1189,7 @@ _swrast_choose_triangle( GLcontext *ctx ) } } else { -#if CHAN_TYPE == GL_FLOAT +#if (CHAN_BITS == 16 || CHAN_BITS == 32) USE(general_textured_triangle); #else USE(persp_textured_triangle); |