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".
This commit is contained in:
Chia-I Wu
2010-03-30 13:13:20 +08:00
parent 9f0e1be2de
commit 066477ab22
6 changed files with 12 additions and 8 deletions

View File

@@ -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)