diff options
author | Eric Anholt <eric@anholt.net> | 2009-11-17 23:38:35 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-19 11:47:05 +0100 |
commit | fc9a2970dc539b21b035ea0a770ec69822962145 (patch) | |
tree | 2b5e96f0bc0ac1540936dfc349e082de2e839d11 /src/mesa/swrast_setup | |
parent | 165b860da6f16ef4817a4959774a57f57ba3756d (diff) |
tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r-- | src/mesa/swrast_setup/ss_tritmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_tritmp.h b/src/mesa/swrast_setup/ss_tritmp.h index 724b5e94fa..9700cf8c54 100644 --- a/src/mesa/swrast_setup/ss_tritmp.h +++ b/src/mesa/swrast_setup/ss_tritmp.h @@ -127,7 +127,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; saved_index[0] = v[0]->attrib[FRAG_ATTRIB_CI][0]; saved_index[1] = v[1]->attrib[FRAG_ATTRIB_CI][0]; saved_index[2] = v[2]->attrib[FRAG_ATTRIB_CI][0]; |