From: Brian Paul Date: Sun, 23 Sep 2012 00:45:34 +0000 (-0600) Subject: mesa: remove FEATURE_GL test from updated_drawbuffers() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=920f331cf1b3c087951950d4b2198ac5145fba99;p=mesa.git mesa: remove FEATURE_GL test from updated_drawbuffers() There's already a runtime test for full OpenGL. Reviewed-by: Ian Romanick --- diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 216b6ee876f..cc268b67cbc 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -353,7 +353,6 @@ 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; @@ -362,7 +361,6 @@ updated_drawbuffers(struct gl_context *ctx) fb->_Status = 0; } } -#endif }