/* Call device driver function only if fb is the bound draw buffer */
if (fb == ctx->DrawBuffer) {
if (ctx->Driver.DrawBuffer)
- ctx->Driver.DrawBuffer(ctx, buffer);
+ ctx->Driver.DrawBuffer(ctx);
if (ctx->Driver.DrawBufferAllocate)
ctx->Driver.DrawBufferAllocate(ctx);
}
*/
if (fb == ctx->DrawBuffer) {
if (ctx->Driver.DrawBuffer)
- ctx->Driver.DrawBuffer(ctx, n > 0 ? buffers[0] : GL_NONE);
+ ctx->Driver.DrawBuffer(ctx);
if (ctx->Driver.DrawBufferAllocate)
ctx->Driver.DrawBufferAllocate(ctx);
}