diff options
author | Chia-I Wu <[email protected]> | 2010-03-30 13:13:20 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-03-30 15:39:17 +0800 |
commit | 066477ab226c6bf9598511ebe9134cb360fb54a2 (patch) | |
tree | 8e6fda75fb3aa7253fbdeff719167544637c5849 /src/mesa/main/bufferobj.c | |
parent | 9f0e1be2de1d9256f340b541630ad258ca8885f7 (diff) |
mesa: Add missing features.
Add features tested in the code but missing from mfeatures.h.
This also fixes some tests of features. They should be tested with
"#if", not "#ifdef".
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r-- | src/mesa/main/bufferobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 1854b980beb..11bf48622fd 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -47,7 +47,7 @@ /*#define BOUNDS_CHECK*/ -#ifdef FEATURE_OES_mapbuffer +#if FEATURE_OES_mapbuffer #define DEFAULT_ACCESS GL_MAP_WRITE_BIT #else #define DEFAULT_ACCESS (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT) |