diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-03 15:08:45 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-03 21:42:28 +0100 |
commit | 05dcc5f1699ba90fc14c50882e8d4be89bc4a4f9 (patch) | |
tree | acc433746fcc878f00e3e464924151ccb0218b66 /src/legacy/i810/i810_driver.c | |
parent | 2b3f4ca33a00440a7005fef69099f8dbaddbbad1 (diff) |
Pass the chipset info through driverPrivate rather than a global pointer
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/legacy/i810/i810_driver.c')
-rw-r--r-- | src/legacy/i810/i810_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy/i810/i810_driver.c b/src/legacy/i810/i810_driver.c index 949fd274..fc6369ee 100644 --- a/src/legacy/i810/i810_driver.c +++ b/src/legacy/i810/i810_driver.c @@ -152,7 +152,7 @@ static int i810_pitches[] = { static Bool I810GetRec(ScrnInfoPtr scrn) { - if (scrn->driverPrivate) + if (((uintptr_t)scrn->driverPrivate & 1) == 0) return TRUE; scrn->driverPrivate = xnfcalloc(sizeof(I810Rec), 1); |