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
5 pTseng->Bytesperpixel = 1; /* this is fake for < 8bpp, but simplifies other code */
7 - /* hardware limits */
8 - pScrn->maxHValue = Tseng_HMAX;
9 - pScrn->maxVValue = Tseng_VMAX;
12 * This must happen after pScrn->display has been set because
13 * xf86SetWeight references it.
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,