diff options
author | Adam Jackson <[email protected]> | 2004-10-24 02:05:40 +0000 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2004-10-24 02:05:40 +0000 |
commit | 94987beb2c9e87d9c55db5cb7c089dc77f78df94 (patch) | |
tree | 714d8c344090c992e6a55658bc14ef4d585761ac /src/mesa/tnl/t_vtx_eval.c | |
parent | 07553c58fd068a0e1b43e564fba1baffa6ea222d (diff) |
Bug #1682: Mesa core code that gets linked into DRI drivers should never call
through the GL API directly, but should instead use the GL_CALL macro.
Diffstat (limited to 'src/mesa/tnl/t_vtx_eval.c')
-rw-r--r-- | src/mesa/tnl/t_vtx_eval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_vtx_eval.c b/src/mesa/tnl/t_vtx_eval.c index ea9da13fe4e..5a24c70d21f 100644 --- a/src/mesa/tnl/t_vtx_eval.c +++ b/src/mesa/tnl/t_vtx_eval.c @@ -165,9 +165,9 @@ void _tnl_do_EvalCoord1f(GLcontext* ctx, GLfloat u) map->Order); if (tnl->vtx.eval.map1[0].sz == 4) - glVertex4fv( vertex ); + GL_CALL(Vertex4fv)( vertex ); else - glVertex3fv( vertex ); + GL_CALL(Vertex3fv)( vertex ); } } @@ -244,9 +244,9 @@ void _tnl_do_EvalCoord2f( GLcontext* ctx, GLfloat u, GLfloat v ) } if (tnl->vtx.attrsz[0] == 4) - glVertex4fv( vertex ); + GL_CALL(Vertex4fv)( vertex ); else - glVertex3fv( vertex ); + GL_CALL(Vertex3fv)( vertex ); } } |