From 72fda2b710d864d23aec1e8f959147d05c5ff3f3 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 18 Dec 2015 15:28:03 +0000 Subject: i915: correctly parse/set the context flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With an earlier commit we've spit the flags parsing to a separate function, but forgot to update all the dri modules to use it. Noticed when we've enabled KHR_debug for every dri module - fdo#93048 Fixes: 38366c0c6e7 "dri_util: Don't assume __DRIcontext->driverPrivate is a gl_context" Cc: Mark Janes Cc: "11.0 11.1" Cc: Kristian Høgsberg Cc: Ian Romanick Signed-off-by: Emil Velikov Reviewed-by: Mark Janes Tested-by: Mark Janes --- src/mesa/drivers/dri/i915/intel_context.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 3f429f25d10..e5a3f003eac 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -427,6 +427,8 @@ intelInitContext(struct intel_context *intel, return false; } + driContextSetFlags(&intel->ctx, flags); + driContextPriv->driverPrivate = intel; intel->driContext = driContextPriv; -- cgit v1.2.3