summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-09-22 18:45:34 -0600
committerIan Romanick <ian.d.romanick@intel.com>2012-10-16 14:57:20 -0700
commit920f331cf1b3c087951950d4b2198ac5145fba99 (patch)
tree8d2bf0d17a978c9f96a5b07c00209dca2d8aab6f /src
parent99940eef48980b795b10e43ac388b7435b8defbc (diff)
mesa: remove FEATURE_GL test from updated_drawbuffers()
There's already a runtime test for full OpenGL. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/buffers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 216b6ee876..cc268b67cb 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
}