summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-06-26 19:59:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-06-26 19:59:38 +0000
commit199729ff277c7401fe0e59945f16f5b86987abf8 (patch)
tree08aa08be06db096c924b7cacf266c05e4fbf7dc4 /src
parent78a6000cf2eb294181ea1af049fae6d4f6167bcb (diff)
locking fixes (Martijn Van Oosterhout)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r128/r128_span.c6
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 a24e63c9b6..25e57133cc 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
*/