From: Brian Paul Date: Mon, 26 Jun 2006 19:59:38 +0000 (+0000) Subject: locking fixes (Martijn Van Oosterhout) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=199729ff277c7401fe0e59945f16f5b86987abf8;p=mesa.git locking fixes (Martijn Van Oosterhout) --- diff --git a/src/mesa/drivers/dri/r128/r128_span.c b/src/mesa/drivers/dri/r128/r128_span.c index a24e63c9b67..25e57133cc3 100644 --- a/src/mesa/drivers/dri/r128/r128_span.c +++ b/src/mesa/drivers/dri/r128/r128_span.c @@ -123,6 +123,12 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. * Depth buffer */ +/* These functions require locking */ +#undef HW_LOCK +#undef HW_UNLOCK +#define HW_LOCK() LOCK_HARDWARE(R128_CONTEXT(ctx)); +#define HW_UNLOCK() UNLOCK_HARDWARE(R128_CONTEXT(ctx)); + /* 16-bit depth buffer functions */