svga: Actually call fence_reference in texture downloads.

This commit is contained in:
José Fonseca 2010-01-28 20:51:52 +00:00
parent ad93f3e489
commit b750786fb1

View file

@ -205,7 +205,7 @@ svga_transfer_dma(struct svga_transfer *st,
if(transfer == SVGA3D_READ_HOST_VRAM) {
svga_screen_flush(screen, &fence);
sws->fence_finish(sws, fence, 0);
//sws->fence_reference(sws, &fence, NULL);
sws->fence_reference(sws, &fence, NULL);
}
}
else {
@ -235,7 +235,7 @@ svga_transfer_dma(struct svga_transfer *st,
if(y) {
svga_screen_flush(screen, &fence);
sws->fence_finish(sws, fence, 0);
//sws->fence_reference(sws, &fence, NULL);
sws->fence_reference(sws, &fence, NULL);
}
hw = sws->buffer_map(sws, st->hwbuf, PIPE_BUFFER_USAGE_CPU_WRITE);