mesa: remove FEATURE_GL test from updated_drawbuffers()
authorBrian Paul <brianp@vmware.com>
Sun, 23 Sep 2012 00:45:34 +0000 (18:45 -0600)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 16 Oct 2012 21:57:20 +0000 (14:57 -0700)
There's already a runtime test for full OpenGL.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/buffers.c

index 216b6ee876fec0ded698adc0b60ef0b33b040524..cc268b67cbca57bca3f48443a6eb96df4fe18ba2 100644 (file)
@@ -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
 }