diff options
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_tex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c index 48b5f1b1fc9..d4c3d302ef2 100644 --- a/src/mesa/drivers/dri/unichrome/via_tex.c +++ b/src/mesa/drivers/dri/unichrome/via_tex.c @@ -237,10 +237,8 @@ static void viaDeleteTexture(GLcontext *ctx, struct gl_texture_object *texObj) if (t) { viaContextPtr vmesa = VIA_CONTEXT(ctx); if (vmesa) { - /*=* John Sheng [2003.7.18] viewperf frames/sec *=*/ - /*VIA_FIREVERTICES(vmesa);*/ if (vmesa->dma) { /* imply vmesa is not under destroying */ - VIA_FIREVERTICES(vmesa); + VIA_FLUSH_DMA(vmesa); } viaDestroyTexObj(vmesa, t); } |