projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d14da9
)
intel: Only enable GL_ARB_occlusion_query on i965.
author
Kristian Høgsberg
<krh@redhat.com>
Mon, 25 Feb 2008 17:03:28 +0000
(12:03 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Mon, 25 Feb 2008 17:03:28 +0000
(12:03 -0500)
src/mesa/drivers/dri/intel/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_context.c
b/src/mesa/drivers/dri/intel/intel_context.c
index d4c2b0f70ca7be02f1e53eec21810e7a51b5052a..d5cb07de995162da7e5b6a7dffd07b02702f822a 100644
(file)
--- 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))