mesa: remove FEATURE_dispatch define.
authorOliver McFadden <oliver.mcfadden@linux.intel.com>
Tue, 11 Sep 2012 05:58:24 +0000 (08:58 +0300)
committerOliver McFadden <oliver.mcfadden@linux.intel.com>
Sat, 15 Sep 2012 09:56:09 +0000 (12:56 +0300)
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/context.c
src/mesa/main/mfeatures.h

index 6b28690ec9fcb1a2ecade09cc90b7296476cb0d4..dbd79e929c9802067445779b0289cea80135d733 100644 (file)
@@ -961,7 +961,6 @@ _mesa_initialize_context(struct gl_context *ctx,
       return GL_FALSE;
    }
 
-#if FEATURE_dispatch
    /* setup the API dispatch tables */
    switch (ctx->API) {
 #if FEATURE_GL || FEATURE_ES2
@@ -985,7 +984,6 @@ _mesa_initialize_context(struct gl_context *ctx,
       _mesa_reference_shared_state(ctx, &ctx->Shared, NULL);
       return GL_FALSE;
    }
-#endif
    ctx->CurrentDispatch = ctx->Exec;
 
    ctx->FragmentProgram._MaintainTexEnvProgram
index b67f046ca6ca19dda7ba5c5808800000d7321ac7..3761f0b67ba43583c0e2a736e8b1cb24a378ded8 100644 (file)
@@ -84,7 +84,6 @@
 #define FEATURE_remap_table               0
 #endif
 
-#define FEATURE_dispatch                  1
 #define FEATURE_texgen                    1
 #define FEATURE_userclip                  1