diff options
author | José Fonseca <[email protected]> | 2008-02-24 02:16:28 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-24 02:23:12 +0900 |
commit | e9bb63c8e20361597463b2f7f88d84fe2770c8b9 (patch) | |
tree | 21029410d69a880e5a66961ab9fd34417f370543 /src/gallium/auxiliary/pipebuffer | |
parent | 58a3d7dfd94453c25607106835fbbb3a54d42306 (diff) |
gallium: MSVC fixes.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c index e2ee72ed1fa..6e217eb2e06 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c +++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c @@ -285,7 +285,9 @@ fenced_buffer_list_destroy(struct fenced_buffer_list *fenced_list) /* Wait on outstanding fences */ while (fenced_list->numDelayed) { _glthread_UNLOCK_MUTEX(fenced_list->mutex); +#ifndef __MSC__ sched_yield(); +#endif _fenced_buffer_list_check_free(fenced_list, 1); _glthread_LOCK_MUTEX(fenced_list->mutex); } |