mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 22:20:29 +01:00
[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:
parent
1d0ddea92f
commit
19420e6c25
1 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue