From d95443f030fbd0794ec7adbe11cf0fcefcf174d7 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 4 Mar 2003 17:23:34 +0000 Subject: [PATCH] Initialize tnl vtxfmt stuff if _HAVE_FULL_GL --- src/mesa/main/context.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 981dfe54b96..61d2421ef9d 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -28,7 +28,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* $Id: context.c,v 1.188.2.1.2.4 2003/03/02 00:27:31 jrfonseca Exp $ */ +/* $Id: context.c,v 1.188.2.1.2.5 2003/03/04 17:23:34 keithw Exp $ */ /** * \mainpage Mesa Core Module @@ -1894,7 +1894,9 @@ _mesa_initialize_context( GLcontext *ctx, ctx->SavePrefersFloat = GL_FALSE; /* Neutral tnl module stuff */ -/* _mesa_init_exec_vtxfmt( ctx ); */ +#if _HAVE_FULL_GL + _mesa_init_exec_vtxfmt( ctx ); +#endif ctx->TnlModule.Current = NULL; ctx->TnlModule.SwapCount = 0;