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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user