mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
mesa: #ifdef out more remap_table related code when disabled.
Seems to get everything building again here.
This commit is contained in:
parent
269f416864
commit
a5fca974cf
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue