summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-02-25 12:03:28 -0500
committerKristian Høgsberg <krh@redhat.com>2008-02-25 12:03:28 -0500
commit45a800a2e7eb5d8d87820ef32d60ae912729cbb0 (patch)
tree759f0f2304c9fa0609e1be405944dd7294b79420 /src/mesa/drivers/dri/intel
parent1d14da9a89e8d7f49b754ca1f24cb062a261a7e7 (diff)
intel: Only enable GL_ARB_occlusion_query on i965.
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index d4c2b0f70c..d5cb07de99 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))