summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-15 18:16:59 -0600
committerBrian Paul <[email protected]>2009-09-15 18:17:43 -0600
commit2914f2b7fd9bd1082f8cce724d234208b900c3d4 (patch)
tree71dd135e2eefd8e3d2e66312fef8f0b8d1465b49 /src/mesa/drivers/dri/unichrome
parentef6ee07fc7b356109897fdc311be74d5c6640bf9 (diff)
mesa: move generate mipmap calls
Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tex.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c
index d2010f09074..54073e76918 100644
--- a/src/mesa/drivers/dri/unichrome/via_tex.c
+++ b/src/mesa/drivers/dri/unichrome/via_tex.c
@@ -818,11 +818,6 @@ static void viaTexImage(GLcontext *ctx,
}
}
- /* GL_SGIS_generate_mipmap */
- if (level == texObj->BaseLevel && texObj->GenerateMipmap) {
- _mesa_generate_mipmap(ctx, target, texObj);
- }
-
_mesa_unmap_teximage_pbo(ctx, packing);
}