mesa: FEATURE_dispatch to control dispatch table usage
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Jun 2008 22:56:32 +0000 (16:56 -0600)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 22 Sep 2008 05:13:55 +0000 (22:13 -0700)
src/mesa/main/context.c
src/mesa/main/mfeatures.h

index 74f0add6f4491ce160dad32d4aa192c5e12b796a..19dd55f9d947166cc6ee66bd1866604a1e5ca884 100644 (file)
@@ -1215,7 +1215,9 @@ _mesa_initialize_context(GLcontext *ctx,
       if (ctx->Exec)
          _mesa_free(ctx->Exec);
    }
+#if FEATURE_dispatch
    _mesa_init_exec_table(ctx->Exec);
+#endif
    ctx->CurrentDispatch = ctx->Exec;
 #if FEATURE_dlist
    _mesa_init_dlist_table(ctx->Save);
index 4aa294b74422e1abb525c884548a1c22e211630d..4e384b0b3be9dac91937479b41409a963ce598d6 100644 (file)
@@ -40,6 +40,7 @@
 #define FEATURE_attrib_stack  _HAVE_FULL_GL
 #define FEATURE_colortable  _HAVE_FULL_GL
 #define FEATURE_convolution  _HAVE_FULL_GL
+#define FEATURE_dispatch  _HAVE_FULL_GL
 #define FEATURE_dlist  _HAVE_FULL_GL
 #define FEATURE_draw_read_buffer  _HAVE_FULL_GL
 #define FEATURE_drawpix  _HAVE_FULL_GL