diff options
author | Brian Paul <[email protected]> | 2006-06-26 19:59:38 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-06-26 19:59:38 +0000 |
commit | 199729ff277c7401fe0e59945f16f5b86987abf8 (patch) | |
tree | 08aa08be06db096c924b7cacf266c05e4fbf7dc4 | |
parent | 78a6000cf2eb294181ea1af049fae6d4f6167bcb (diff) |
locking fixes (Martijn Van Oosterhout)
-rw-r--r-- | src/mesa/drivers/dri/r128/r128_span.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |