summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_screen.c
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2008-02-15 14:52:58 -0500
committerAdam Jackson <[email protected]>2008-02-15 14:52:58 -0500
commitcf0d91ae1d627381b632de63e5cb85494b277eb4 (patch)
treec339ad5d6a3431947af79ce3fedf7c49d6390e68 /src/mesa/drivers/dri/intel/intel_screen.c
parentc51eb3ec401e78dd14ccd95304599909045b17b6 (diff)
Add IS_915(), simplify IS_9XX() a bit.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_screen.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 2392c2c49cc..d91bb38e30d 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -645,11 +645,9 @@ intelCreateContext(const __GLcontextModes * mesaVis,
intelScreenPrivate *intelScreen = (intelScreenPrivate *) sPriv->private;
#ifdef I915
- if (IS_9XX(intelScreen->deviceID)) {
- if (!IS_965(intelScreen->deviceID)) {
- return i915CreateContext(mesaVis, driContextPriv,
+ if (IS_915(intelScreen->deviceID)) {
+ return i915CreateContext(mesaVis, driContextPriv,
sharedContextPrivate);
- }
} else {
return i830CreateContext(mesaVis, driContextPriv, sharedContextPrivate);
}