mesa: #ifdef out more remap_table related code when disabled.

Seems to get everything building again here.
This commit is contained in:
José Fonseca 2010-05-02 16:10:40 +01:00 committed by Kristian Høgsberg
parent 269f416864
commit a5fca974cf
2 changed files with 6 additions and 3 deletions

View file

@ -106,6 +106,8 @@
#endif
#include "main/dispatch.h"
#ifdef _GLAPI_USE_REMAP_TABLE
#define need_MESA_remap_table
#include "main/remap.h"
#include "main/remap_helper.h"
@ -141,6 +143,8 @@ _mesa_init_remap_table(void)
MESA_remap_table_functions);
}
#endif /* _GLAPI_USE_REMAP_TABLE */
/**
* Initialize a dispatch table with pointers to Mesa's immediate-mode

View file

@ -35,13 +35,12 @@
* a dynamic entry, or the corresponding static entry, in glapi.
*/
#if FEATURE_remap_table
#include "remap.h"
#include "imports.h"
#include "glapi/glapi.h"
#if FEATURE_remap_table
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
#define MAX_ENTRY_POINTS 16