Commit b54225cc authored by Brian's avatar Brian

gallium: set ctx->Const.MaxDrawBuffers

parent fdd794dc
......@@ -111,6 +111,10 @@ void st_init_limits(struct st_context *st)
st->bitmap_texcoord_bias
= screen->get_paramf(screen, PIPE_CAP_BITMAP_TEXCOORD_BIAS);
c->MaxDrawBuffers
= CLAMP(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS),
1, MAX_DRAW_BUFFERS);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment