diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-03-03 12:01:01 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-03-03 12:01:01 +0000 |
commit | 9036e0d724dcefb7e15d9cc2020a25f87c93a04d (patch) | |
tree | 57185c4b029998fac71914039c3f4e6fe87b4e94 /src/gallium/auxiliary | |
parent | 2785af803f7d6d64ff17c10645e5f10499289ed0 (diff) | |
download | external_mesa3d-9036e0d724dcefb7e15d9cc2020a25f87c93a04d.zip external_mesa3d-9036e0d724dcefb7e15d9cc2020a25f87c93a04d.tar.gz external_mesa3d-9036e0d724dcefb7e15d9cc2020a25f87c93a04d.tar.bz2 |
pipebuffer: Fix copy'n'paste typo.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c index 9282bca..1fb4ed8 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c +++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c @@ -302,7 +302,7 @@ fenced_buffer_map(struct pb_buffer *buf, ((fenced_buf->flags & PIPE_BUFFER_USAGE_GPU_READ) && (flags & PIPE_BUFFER_USAGE_CPU_WRITE))) { if(flags & PIPE_BUFFER_USAGE_DONTBLOCK) { /* Don't wait for the GPU to finish writing */ - if(winsys->fence_finish(winsys, fenced_buf->fence, 0) == 0) + if(winsys->fence_signalled(winsys, fenced_buf->fence, 0) == 0) _fenced_buffer_remove(fenced_list, fenced_buf); else return NULL; |