projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into opengl-es-v2
[mesa.git]
/
src
/
mesa
/
tnl
/
t_vb_vertex.c
diff --git
a/src/mesa/tnl/t_vb_vertex.c
b/src/mesa/tnl/t_vb_vertex.c
index 4734754ea4016dd470fdf9466a109230387f29d8..bc7e0951ec8c93c47bf011d586ceda5c6816df62 100644
(file)
--- a/
src/mesa/tnl/t_vb_vertex.c
+++ b/
src/mesa/tnl/t_vb_vertex.c
@@
-152,16
+152,16
@@
static GLboolean run_vertex_stage( GLcontext *ctx,
* Use combined ModelProject to avoid some depth artifacts
*/
if (ctx->ModelviewMatrixStack.Top->type == MATRIX_IDENTITY)
* Use combined ModelProject to avoid some depth artifacts
*/
if (ctx->ModelviewMatrixStack.Top->type == MATRIX_IDENTITY)
- VB->EyePtr = VB->
ObjPtr
;
+ VB->EyePtr = VB->
AttribPtr[_TNL_ATTRIB_POS]
;
else
VB->EyePtr = TransformRaw( &store->eye,
ctx->ModelviewMatrixStack.Top,
else
VB->EyePtr = TransformRaw( &store->eye,
ctx->ModelviewMatrixStack.Top,
- VB->
ObjPtr
);
+ VB->
AttribPtr[_TNL_ATTRIB_POS]
);
}
VB->ClipPtr = TransformRaw( &store->clip,
&ctx->_ModelProjectMatrix,
}
VB->ClipPtr = TransformRaw( &store->clip,
&ctx->_ModelProjectMatrix,
- VB->
ObjPtr
);
+ VB->
AttribPtr[_TNL_ATTRIB_POS]
);
/* Drivers expect this to be clean to element 4...
*/
/* Drivers expect this to be clean to element 4...
*/