summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/gldirect/dx8
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-11-17 23:27:13 -0800
committerEric Anholt <[email protected]>2009-11-19 11:47:05 +0100
commit165b860da6f16ef4817a4959774a57f57ba3756d (patch)
treef128c15d5c799eab290fedeb968d79675bb9e9ea /src/mesa/drivers/windows/gldirect/dx8
parentdf582ca767a38f185f9b4c449e7ed4266c414ae2 (diff)
tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]
Diffstat (limited to 'src/mesa/drivers/windows/gldirect/dx8')
-rw-r--r--src/mesa/drivers/windows/gldirect/dx8/gld_primitive_dx8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gldirect/dx8/gld_primitive_dx8.c b/src/mesa/drivers/windows/gldirect/dx8/gld_primitive_dx8.c
index 7cc2ef6f304..b95351553ca 100644
--- a/src/mesa/drivers/windows/gldirect/dx8/gld_primitive_dx8.c
+++ b/src/mesa/drivers/windows/gldirect/dx8/gld_primitive_dx8.c
@@ -241,7 +241,7 @@
DWORD dwColor;
#define GLD_SETUP_3D_VERTEX(v) \
- p4f = VB->ObjPtr->data; \
+ p4f = VB->AttribPtr[_TNL_ATTRIB_POS]->data; \
pV->Position.x = p4f[##v][0]; \
pV->Position.y = p4f[##v][1]; \
pV->Position.z = p4f[##v][2];