diff options
author | Chia-I Wu <[email protected]> | 2010-10-26 16:16:14 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-11-02 14:17:56 +0800 |
commit | fdede1efaae32d23caf3b351cc766df12e3c5f8d (patch) | |
tree | 6ed18ed5ab8fc375b5cc9aed1d5f8d22422b8b79 /src/mesa/main/dispatch.h | |
parent | 6b999c89ce1a5bf2d5e8533929b8f2101beaa481 (diff) |
mesa: Select FEATURE_remap_table when multiple APIs are enabled.
Core mesa should query glapi for the positions of the functions in
_glapi_table when multiple APIs are supported. It does not know which
glapitable.h glapi used.
Diffstat (limited to 'src/mesa/main/dispatch.h')
-rw-r--r-- | src/mesa/main/dispatch.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/dispatch.h b/src/mesa/main/dispatch.h index 552384c500c..a597959cf8e 100644 --- a/src/mesa/main/dispatch.h +++ b/src/mesa/main/dispatch.h @@ -26,7 +26,9 @@ #ifndef _DISPATCH_H #define _DISPATCH_H -#ifdef IN_DRI_DRIVER +#include "main/mfeatures.h" + +#if FEATURE_remap_table #define _GLAPI_USE_REMAP_TABLE #endif |