From: Kristian Høgsberg Date: Mon, 25 Feb 2008 17:03:28 +0000 (-0500) Subject: intel: Only enable GL_ARB_occlusion_query on i965. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45a800a2e7eb5d8d87820ef32d60ae912729cbb0;p=mesa.git intel: Only enable GL_ARB_occlusion_query on i965. --- diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index d4c2b0f70ca..d5cb07de995 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -281,7 +281,9 @@ static void intelInitExtensions(GLcontext *ctx, GLboolean enable_imaging) if (intel == NULL || intel->ttm) driInitExtensions(ctx, ttm_extensions, GL_FALSE); - if (intel == NULL || intel->intelScreen->drmMinor >= 8) + if (intel == NULL || + (IS_965(intel->intelScreen->deviceID) && + intel->intelScreen->drmMinor >= 8)) driInitExtensions(ctx, arb_oc_extensions, GL_FALSE); if (intel == NULL || IS_965(intel->intelScreen->deviceID))