summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-02-05 13:54:21 +0000
committerJosé Fonseca <[email protected]>2010-02-05 13:54:21 +0000
commite95e5caee6fac27d96a75a467318c3d650469f85 (patch)
tree3ad9ec84965be888f02715e7ab892f35f7277e1d
parent8eda50420354a7f051cd49ca675677fb670a03f6 (diff)
os: Don't assert on missing implementation of barrier init/destroy. Just usage.
-rw-r--r--src/gallium/auxiliary/os/os_thread.h2
1 files changed, 0 insertions, 2 deletions
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)