diff options
author | Eric Anholt <[email protected]> | 2009-11-17 23:38:35 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-11-19 11:47:05 +0100 |
commit | fc9a2970dc539b21b035ea0a770ec69822962145 (patch) | |
tree | 2b5e96f0bc0ac1540936dfc349e082de2e839d11 /src/mesa/tnl_dd | |
parent | 165b860da6f16ef4817a4959774a57f57ba3756d (diff) |
tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr
Diffstat (limited to 'src/mesa/tnl_dd')
-rw-r--r-- | src/mesa/tnl_dd/t_dd_tritmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl_dd/t_dd_tritmp.h b/src/mesa/tnl_dd/t_dd_tritmp.h index 1ae70f4059f..0e3bc1329d7 100644 --- a/src/mesa/tnl_dd/t_dd_tritmp.h +++ b/src/mesa/tnl_dd/t_dd_tritmp.h @@ -237,7 +237,7 @@ static void TAG(triangle)( GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 ) } } else { - GLfloat (*vbindex) = (GLfloat *)VB->IndexPtr[1]->data; + GLfloat (*vbindex) = (GLfloat *)VB->BackfaceIndexPtr->data; if (!DO_FLAT) { VERT_SAVE_IND( 0 ); VERT_SAVE_IND( 1 ); @@ -506,7 +506,7 @@ static void TAG(quadr)( GLcontext *ctx, } } else { - GLfloat *vbindex = (GLfloat *)VB->IndexPtr[1]->data; + GLfloat *vbindex = (GLfloat *)VB->BackfaceIndexPtr->data; if (!DO_FLAT) { VERT_SAVE_IND( 0 ); VERT_SAVE_IND( 1 ); |