From: José Fonseca Date: Fri, 5 Feb 2010 13:54:21 +0000 (+0000) Subject: os: Don't assert on missing implementation of barrier init/destroy. Just usage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e95e5caee6fac27d96a75a467318c3d650469f85;p=mesa.git os: Don't assert on missing implementation of barrier init/destroy. Just usage. --- diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h index 24a2309976a..8ae90308c53 100644 --- a/src/gallium/auxiliary/os/os_thread.h +++ b/src/gallium/auxiliary/os/os_thread.h @@ -215,12 +215,10 @@ typedef unsigned pipe_barrier; static INLINE void pipe_barrier_init(pipe_barrier *barrier, unsigned count) { /* XXX we could implement barriers with a mutex and condition var */ - assert(0); } static INLINE void pipe_barrier_destroy(pipe_barrier *barrier) { - assert(0); } static INLINE void pipe_barrier_wait(pipe_barrier *barrier)