diff options
author | Brian Paul <[email protected]> | 2002-01-30 16:45:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-01-30 16:45:29 +0000 |
commit | 6115d784a70d364bc44bb244ee1962c8e6109bef (patch) | |
tree | 8ef77f687fc2fcc33dfa5519590de58b1c104ec6 /src/mesa | |
parent | fcca385bec142ddf160721c0d4d62d15610415a7 (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 3f91b4f6ac9..efc69b7e44a 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.39.2.4 2002/01/09 00:28:53 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.39.2.5 2002/01/30 16:45:29 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1717,7 +1717,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); @@ -1725,7 +1725,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); |