diff options
author | Brian Paul <[email protected]> | 2001-03-08 15:23:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-03-08 15:23:46 +0000 |
commit | 01915e90e6912f06d43d443a09157f7bbc96ddc5 (patch) | |
tree | fc86ff76a45027c01d45902bed894d12f161088c /src/mesa/swrast/s_triangle.c | |
parent | eac57f009ea347cfce0d70452c1bdeb0e6c9eeae (diff) |
More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.
Diffstat (limited to 'src/mesa/swrast/s_triangle.c')
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 2baa2b5d29a..58609b0f40c 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.15 2001/03/03 20:33:30 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.16 2001/03/08 15:23:46 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -413,7 +413,7 @@ static void affine_textured_triangle( GLcontext *ctx, return; \ } \ tbytesline = obj->Image[b]->Width * comp; \ - tsize = theight * tbytesline; + tsize = obj->Image[b]->Height * tbytesline; /* Instead of defining a function for each mode, a test is done |