summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mga/mgatexmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/mga/mgatexmem.c')
-rw-r--r--src/mesa/drivers/dri/mga/mgatexmem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/mga/mgatexmem.c b/src/mesa/drivers/dri/mga/mgatexmem.c
index 4e7fd6b24b..66c69bf3e5 100644
--- a/src/mesa/drivers/dri/mga/mgatexmem.c
+++ b/src/mesa/drivers/dri/mga/mgatexmem.c
@@ -131,10 +131,6 @@ static void mgaUploadSubImage( mgaContextPtr mmesa,
for ( i = 0 ; i < hwlevel ; i++ ) {
offset += (t->offsets[1] >> (i * 2));
}
-
- /* Each mipmap must be DWORD aligned.
- */
- offset &= ~0x03;
}