1 $NetBSD
: patch
-src_s3v__driver
.c
,v
1.3 2018/05/20 07:32:50 wiz Exp $
3 Fix build with modular
-xorg
-server
-1.20.
5 --- src
/s3v_driver
.c
.orig
2015-09-26 16:28:11.000000000 +0000
7 @@
-1203,6 +1203,7 @@
S3VPreInit(ScrnInfoPtr pScrn
, int flags
)
8 vga256InfoRec
.directMode
= XF86DGADirectPresent
;
13 * xf86ValidateModes will check that the mode HTotal and VTotal values
14 * don't exceed the chipset's limit if pScrn->maxHValue and
15 @@ -1214,6 +1215,7 @@ S3VPreInit(ScrnInfoPtr pScrn, int flags)
16 /* true for all ViRGE? */
17 pScrn
->maxHValue
= 2048;
18 pScrn
->maxVValue
= 2048;
21 /* Lower depths default to config file */
22 pScrn
->virtualX
= pScrn
->display
->virtualX
;