diff options
author | Thomas Hellström <thomas@tungstengraphics.com> | 2005-11-16 17:24:26 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@tungstengraphics.com> | 2005-11-16 17:24:26 +0000 |
commit | 0ba7be0a5028ad3e6547eb0351967eb6083b7900 (patch) | |
tree | 953db5c501ee440c55063e5c74f82cc6074094e4 /src/mesa/drivers/dri/unichrome/via_fb.c | |
parent | 32fe233d54360f66d67314f3b06a6847570a4bd9 (diff) | |
download | external_mesa3d-0ba7be0a5028ad3e6547eb0351967eb6083b7900.zip external_mesa3d-0ba7be0a5028ad3e6547eb0351967eb6083b7900.tar.gz external_mesa3d-0ba7be0a5028ad3e6547eb0351967eb6083b7900.tar.bz2 |
Bring in last minute 6_4 branch changes to the unichrome driver
to the trunk.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_fb.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_fb.c b/src/mesa/drivers/dri/unichrome/via_fb.c index 9ac98d1..5b6ed9b 100644 --- a/src/mesa/drivers/dri/unichrome/via_fb.c +++ b/src/mesa/drivers/dri/unichrome/via_fb.c @@ -206,7 +206,7 @@ via_release_pending_textures( struct via_context *vmesa ) struct via_tex_buffer *s, *tmp; foreach_s( s, tmp, &vmesa->freed_tex_buffers ) { - if (s->lastUsed < vmesa->lastBreadcrumbRead) { + if (!VIA_GEQ_WRAP(s->lastUsed, vmesa->lastBreadcrumbRead)) { if (VIA_DEBUG & DEBUG_TEXTURE) fprintf(stderr, "%s: release tex sz %d lastUsed %x\n", __FUNCTION__, s->size, s->lastUsed); |