intel: In the i915 driver, the chipset cannot be i965

In the i965 dirver, the chipset must be i965.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Ian Romanick 2012-08-07 12:05:35 -07:00
parent 70f47505a2
commit 2b63624326

View file

@ -733,20 +733,17 @@ intelCreateContext(gl_api api,
#ifdef I915
if (IS_9XX(intelScreen->deviceID)) {
if (!IS_965(intelScreen->deviceID)) {
success = i915CreateContext(api, mesaVis, driContextPriv,
sharedContextPrivate);
}
success = i915CreateContext(api, mesaVis, driContextPriv,
sharedContextPrivate);
} else {
intelScreen->no_vbo = true;
success = i830CreateContext(mesaVis, driContextPriv,
sharedContextPrivate);
}
#else
if (IS_965(intelScreen->deviceID))
success = brwCreateContext(api, mesaVis,
driContextPriv,
sharedContextPrivate);
success = brwCreateContext(api, mesaVis,
driContextPriv,
sharedContextPrivate);
#endif
if (success) {