diff options
author | Kristian Høgsberg <[email protected]> | 2008-02-25 12:03:28 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2008-02-25 12:03:28 -0500 |
commit | 45a800a2e7eb5d8d87820ef32d60ae912729cbb0 (patch) | |
tree | 759f0f2304c9fa0609e1be405944dd7294b79420 /src/mesa/drivers/dri | |
parent | 1d14da9a89e8d7f49b754ca1f24cb062a261a7e7 (diff) |
intel: Only enable GL_ARB_occlusion_query on i965.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 4 |
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 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)) |