summaryrefslogtreecommitdiff
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-03-30 13:13:20 +0800
committerChia-I Wu <olv@lunarg.com>2010-03-30 15:39:17 +0800
commit066477ab226c6bf9598511ebe9134cb360fb54a2 (patch)
tree8e6fda75fb3aa7253fbdeff719167544637c5849 /src/mesa/main/bufferobj.c
parent9f0e1be2de1d9256f340b541630ad258ca8885f7 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 1854b980be..11bf48622f 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)