From 45a800a2e7eb5d8d87820ef32d60ae912729cbb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 25 Feb 2008 12:03:28 -0500 Subject: [PATCH] intel: Only enable GL_ARB_occlusion_query on i965. --- src/mesa/drivers/dri/intel/intel_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- 2.30.2