Merge commit 'origin/perrtblend'
[mesa.git] / src / gallium / auxiliary / util / u_gen_mipmap.c
index 5426c91152da3187de33d0c4ea05d5305178b323..8611231ed705041d7bbff6920d5fd127d6e9a0aa 100644 (file)
@@ -1287,7 +1287,7 @@ util_create_gen_mipmap(struct pipe_context *pipe,
 
    /* disabled blending/masking */
    memset(&ctx->blend, 0, sizeof(ctx->blend));
-   ctx->blend.colormask = PIPE_MASK_RGBA;
+   ctx->blend.rt[0].colormask = PIPE_MASK_RGBA;
 
    /* no-op depth/stencil/alpha */
    memset(&ctx->depthstencil, 0, sizeof(ctx->depthstencil));