Pārlūkot izejas kodu

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

Seems to get everything building again here.
undefined
José Fonseca pirms 15 gadiem
vecāks
revīzija
559d124ed3
2 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. 4
    0
      src/mesa/main/api_exec.c
  2. 2
    3
      src/mesa/main/remap.c

+ 4
- 0
src/mesa/main/api_exec.c Parādīt failu

@@ -107,6 +107,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"
@@ -142,6 +144,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

+ 2
- 3
src/mesa/main/remap.c Parādīt failu

@@ -36,13 +36,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


Notiek ielāde…
Atcelt
Saglabāt