From 199729ff277c7401fe0e59945f16f5b86987abf8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 26 Jun 2006 19:59:38 +0000 Subject: [PATCH] locking fixes (Martijn Van Oosterhout) --- src/mesa/drivers/dri/r128/r128_span.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- 2.30.2