]>
Commit | Line | Data |
---|---|---|
619e593a JR |
1 | --- xf86-video-tseng-1.2.5/src/tseng_driver.c~ 2018-05-23 22:10:24.000000000 +0900 |
2 | +++ xf86-video-tseng-1.2.5/src/tseng_driver.c 2018-05-23 22:11:46.142983591 +0900 | |
3 | @@ -1037,10 +1037,6 @@ | |
4 | else | |
5 | pTseng->Bytesperpixel = 1; /* this is fake for < 8bpp, but simplifies other code */ | |
6 | ||
7 | - /* hardware limits */ | |
8 | - pScrn->maxHValue = Tseng_HMAX; | |
9 | - pScrn->maxVValue = Tseng_VMAX; | |
10 | - | |
11 | /* | |
12 | * This must happen after pScrn->display has been set because | |
13 | * xf86SetWeight references it. | |
14 | @@ -1133,8 +1129,8 @@ | |
15 | /* Select valid modes from those available */ | |
16 | i = xf86ValidateModes(pScrn, pScrn->monitor->Modes, | |
17 | pScrn->display->modes, &pTseng->clockRange, | |
18 | - NULL, 32, pScrn->maxHValue, 8*pTseng->Bytesperpixel, /* H limits */ | |
19 | - 0, pScrn->maxVValue, /* V limits */ | |
20 | + NULL, 32, Tseng_HMAX, 8*pTseng->Bytesperpixel, /* H limits */ | |
21 | + 0, Tseng_VMAX, /* V limits */ | |
22 | pScrn->display->virtualX, | |
23 | pScrn->display->virtualY, | |
24 | pTseng->FbMapSize, |