diff options
author | Brian Paul <[email protected]> | 2009-09-27 20:24:59 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-27 20:24:59 -0600 |
commit | 9fbb8884f034e0d691fed0e099d4d796f3b42848 (patch) | |
tree | ba0555d8abd2864234f9770e0e99fe97533c9526 /src/mesa/drivers/dri/mach64/mach64_texstate.c | |
parent | e0bc4533ebccbfb844522e2b6ddd171b97d693e8 (diff) |
mesa/drivers: use _mesa_get_format_bytes()
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_texstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_texstate.c b/src/mesa/drivers/dri/mach64/mach64_texstate.c index fd2369dd882..ff03b0c40ab 100644 --- a/src/mesa/drivers/dri/mach64/mach64_texstate.c +++ b/src/mesa/drivers/dri/mach64/mach64_texstate.c @@ -89,7 +89,7 @@ static void mach64SetTexImages( mach64ContextPtr mmesa, totalSize = ( baseImage->Height * baseImage->Width * - baseImage->TexFormat->TexelBytes ); + _mesa_get_format_bytes(baseImage->TexFormat->MesaFormat) ); totalSize = (totalSize + 31) & ~31; |