summaryrefslogtreecommitdiff
path: root/src/mesa/main/depth.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-11-24 18:48:30 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-11-24 18:48:30 +0000
commit3f02f90f943a996d88abc20f74503afbb56a4c98 (patch)
treef12094c909404fe909730a0e4951236c91e741c7 /src/mesa/main/depth.h
parent5bf7f47083f29f4e5f44107f2f398b8b37dd423b (diff)
added support for separate read/draw buffers per context
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))