summaryrefslogtreecommitdiff
path: root/src/mesa/main/depth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/depth.h')
-rw-r--r--src/mesa/main/depth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/depth.h b/src/mesa/main/depth.h
index 9749905d2c..c579e3d9fb 100644
--- a/src/mesa/main/depth.h
+++ b/src/mesa/main/depth.h
@@ -1,4 +1,4 @@
-/* $Id: depth.h,v 1.3 1999/11/11 01:22:26 brianp Exp $ */
+/* $Id: depth.h,v 1.4 1999/11/24 18:48:31 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -36,7 +36,7 @@
* Return the address of the Z-buffer value for window coordinate (x,y):
*/
#define Z_ADDRESS( CTX, X, Y ) \
- ((CTX)->Buffer->Depth + (CTX)->Buffer->Width * (Y) + (X))
+ ((CTX)->DrawBuffer->Depth + (CTX)->DrawBuffer->Width * (Y) + (X))