diff options
author | Adam Jackson <[email protected]> | 2008-02-15 14:52:58 -0500 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2008-02-15 14:52:58 -0500 |
commit | cf0d91ae1d627381b632de63e5cb85494b277eb4 (patch) | |
tree | c339ad5d6a3431947af79ce3fedf7c49d6390e68 /src/mesa/drivers/dri/intel/intel_screen.c | |
parent | c51eb3ec401e78dd14ccd95304599909045b17b6 (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.c | 6 |
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); } |