From b6c2234c22d5a935012870fa254e68d026ef265e Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 15 Sep 2012 18:15:22 +0100 Subject: Temporarily revert "mesa: remove remaining FEATURE_* defines where protected by API check." This reverts commit 9f37b405a3de8668a5f74c9681829688475ac3b7. Fixes windows builds. --- src/mesa/main/buffers.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/main/buffers.c') diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index cc268b67cbc..216b6ee876f 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -353,6 +353,7 @@ updated_drawbuffers(struct gl_context *ctx) { FLUSH_VERTICES(ctx, _NEW_BUFFERS); +#if FEATURE_GL if (ctx->API == API_OPENGL && !ctx->Extensions.ARB_ES2_compatibility) { struct gl_framebuffer *fb = ctx->DrawBuffer; @@ -361,6 +362,7 @@ updated_drawbuffers(struct gl_context *ctx) fb->_Status = 0; } } +#endif } -- cgit v1.2.3