diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-09-12 18:59:13 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2009-09-13 17:06:16 +0800 |
commit | e6f4bc9d824223325f926cbe7ac1b6a55d2b3dba (patch) | |
tree | c89f6c18bc5c5bc1173ecb7c5dbb155de18528a6 /src/mesa/main/api_loopback.h | |
parent | 2ae5bf72c2d0d244b7972b8e27e12b1983f5f68e (diff) |
mesa: New feature FEATURE_beginend.
This feature corresponds to the Begin/End paradigm. Disabling this
feature also eliminates the use of GLvertexformat completely.
Diffstat (limited to 'src/mesa/main/api_loopback.h')
-rw-r--r-- | src/mesa/main/api_loopback.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mesa/main/api_loopback.h b/src/mesa/main/api_loopback.h index 6f85bbc1d9..751cba2931 100644 --- a/src/mesa/main/api_loopback.h +++ b/src/mesa/main/api_loopback.h @@ -27,11 +27,21 @@ #ifndef API_LOOPBACK_H #define API_LOOPBACK_H -#include "glheader.h" +#include "main/mtypes.h" +#if FEATURE_beginend struct _glapi_table; extern void _mesa_loopback_init_api_table( struct _glapi_table *dest ); -#endif +#else /* FEATURE_beginend */ + +static INLINE void +_mesa_loopback_init_api_table( struct _glapi_table *dest ) +{ +} + +#endif /* FEATURE_beginend */ + +#endif /* API_LOOPBACK_H */ |