[915] Revert broken context creation change from IS_915 commit.

The IS_945 case was left to fall through to the 830 case, along with the
not-recognized-at-all case, making that dead code.
This commit is contained in:
Eric Anholt 2008-02-15 13:16:01 -08:00
parent 1d0ddea92f
commit 19420e6c25

View file

@ -645,9 +645,11 @@ intelCreateContext(const __GLcontextModes * mesaVis,
intelScreenPrivate *intelScreen = (intelScreenPrivate *) sPriv->private;
#ifdef I915
if (IS_915(intelScreen->deviceID)) {
return i915CreateContext(mesaVis, driContextPriv,
if (IS_9XX(intelScreen->deviceID)) {
if (!IS_965(intelScreen->deviceID)) {
return i915CreateContext(mesaVis, driContextPriv,
sharedContextPrivate);
}
} else {
return i830CreateContext(mesaVis, driContextPriv, sharedContextPrivate);
}