summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-01-04 16:39:29 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-01-04 16:39:29 +0000
commit9741dd6cf40d90cc10357ce06ad9c48dbc0c678c (patch)
tree00a9afa62461811b231064311bed0637352a171b /src/mesa/tnl
parent41c310b20a97a9719100f61c6871e9fd4b3ff5f9 (diff)
Reenable the vtxfmt code paths in the radeon and r200 drivers.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_vtx_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vtx_api.c b/src/mesa/tnl/t_vtx_api.c
index 36ba7b6dff..d77a538ade 100644
--- a/src/mesa/tnl/t_vtx_api.c
+++ b/src/mesa/tnl/t_vtx_api.c
@@ -981,7 +981,8 @@ static void GLAPIENTRY _tnl_Begin( GLenum mode )
if (ctx->NewState) {
_mesa_update_state( ctx );
- ctx->Exec->Begin(mode);
+ if (!(tnl->Driver.NotifyBegin && tnl->Driver.NotifyBegin( ctx, mode )))
+ ctx->Exec->Begin(mode);
return;
}