summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-03-04 17:23:34 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-03-04 17:23:34 +0000
commitd95443f030fbd0794ec7adbe11cf0fcefcf174d7 (patch)
treece2d17d7b71b1a39f751dfbee29ffcbb96dea278
parentbe49c0fef221c1efae8bfc3d2badd650fcfe819e (diff)
Initialize tnl vtxfmt stuff if _HAVE_FULL_GL
-rw-r--r--src/mesa/main/context.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 981dfe54b9..61d2421ef9 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;