diff options
author | Marek Olšák <[email protected]> | 2013-07-30 22:29:16 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-07-30 23:31:23 +0200 |
commit | 2acc27cc6de5cae395d19017daf86ddd8de704cf (patch) | |
tree | 44ae11f723f56d0a02b61793214bb1ca99c78ac7 /src/mesa | |
parent | 71e0b5d688e8442c4c19d905db84caad94314d5e (diff) |
st/dri: support the driconf option disable_blend_func_extended
This is needed for Unigine.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index bc0de494b81..b201012f9d2 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -713,7 +713,8 @@ void st_init_extensions(struct st_context *st) ctx->Extensions.EXT_framebuffer_multisample_blit_scaled = GL_TRUE; } - if (ctx->Const.MaxDualSourceDrawBuffers > 0) + if (ctx->Const.MaxDualSourceDrawBuffers > 0 && + !st->options.disable_blend_func_extended) ctx->Extensions.ARB_blend_func_extended = GL_TRUE; st->has_time_elapsed = |