diff options
author | Tapani Pälli <[email protected]> | 2016-10-25 14:38:01 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2016-10-27 07:06:41 +0300 |
commit | 44482d5a3e923652ba8e720cf6a2fb39f13ca6d0 (patch) | |
tree | beaac821486b685b877233e389eac1fd250afca9 /src/mesa | |
parent | fe764477b04866cf4598005e94b374dcbca379e0 (diff) |
st/mesa: set RobustAccess true when is supported
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 69224544088..0f71e6311b1 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -686,8 +686,10 @@ st_api_create_context(struct st_api *stapi, struct st_manager *smapi, if (attribs->flags & ST_CONTEXT_FLAG_FORWARD_COMPATIBLE) st->ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT; - if (attribs->flags & ST_CONTEXT_FLAG_ROBUST_ACCESS) + if (attribs->flags & ST_CONTEXT_FLAG_ROBUST_ACCESS) { st->ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB; + st->ctx->Const.RobustAccess = GL_TRUE; + } if (attribs->flags & ST_CONTEXT_FLAG_RESET_NOTIFICATION_ENABLED) { st->ctx->Const.ResetStrategy = GL_LOSE_CONTEXT_ON_RESET_ARB; st_install_device_reset_callback(st); |