diff options
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r-- | src/mesa/main/buffers.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 5930ec49e4e..be67a0c8faa 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -315,8 +315,6 @@ draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb, /* Call device driver function only if fb is the bound draw buffer */ if (fb == ctx->DrawBuffer) { - if (ctx->Driver.DrawBuffer) - ctx->Driver.DrawBuffer(ctx); if (ctx->Driver.DrawBufferAllocate) ctx->Driver.DrawBufferAllocate(ctx); } @@ -624,8 +622,6 @@ draw_buffers(struct gl_context *ctx, struct gl_framebuffer *fb, GLsizei n, * may not be valid. */ if (fb == ctx->DrawBuffer) { - if (ctx->Driver.DrawBuffer) - ctx->Driver.DrawBuffer(ctx); if (ctx->Driver.DrawBufferAllocate) ctx->Driver.DrawBufferAllocate(ctx); } |