From: Luca Barbieri Date: Thu, 23 Sep 2010 09:58:09 +0000 (+0200) Subject: d3d1x: initialize the mutex X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22762012d1ab4060d8274c1007067c80bb8e806c;p=mesa.git d3d1x: initialize the mutex --- diff --git a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h index 7627720148d..974518a5ce3 100644 --- a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h +++ b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h @@ -675,6 +675,11 @@ struct maybe_mutex_t { pipe_mutex mutex; + maybe_mutex_t() + { + pipe_mutex_init(mutex); + } + void lock() { pipe_mutex_lock(mutex);