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

@@ -629,7 +629,7 @@ _mesa_test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb)
}
}
#ifndef FEATURE_OES_framebuffer_object
#if !FEATURE_OES_framebuffer_object
/* Check that all DrawBuffers are present */
for (j = 0; j < ctx->Const.MaxDrawBuffers; j++) {
if (fb->ColorDrawBuffer[j] != GL_NONE) {