diff options
-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 a1b73fd9..3d53d043 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 (((uintptr_t)scrn->driverPrivate & 1) == 0) + if (((uintptr_t)scrn->driverPrivate & 3) == 0) return TRUE; scrn->driverPrivate = xnfcalloc(sizeof(I810Rec), 1); |