Add IS_915(), simplify IS_9XX() a bit.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user