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/mga | |
parent | e0bc4533ebccbfb844522e2b6ddd171b97d693e8 (diff) |
mesa/drivers: use _mesa_get_format_bytes()
Diffstat (limited to 'src/mesa/drivers/dri/mga')
-rw-r--r-- | src/mesa/drivers/dri/mga/mga_texstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mga/mga_texstate.c b/src/mesa/drivers/dri/mga/mga_texstate.c index ad765d1dd76..8f78ab9bd4a 100644 --- a/src/mesa/drivers/dri/mga/mga_texstate.c +++ b/src/mesa/drivers/dri/mga/mga_texstate.c @@ -131,7 +131,7 @@ mgaSetTexImages( mgaContextPtr mmesa, break; size = texImage->Width * texImage->Height * - baseImage->TexFormat->TexelBytes; + _mesa_get_format_bytes(baseImage->TexFormat->MesaFormat); t->offsets[i] = totalSize; t->base.dirty_images[0] |= (1<<i); |