mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
70f47505a2
commit
2b63624326
1 changed files with 5 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue