freebsd-ports/x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c
Maxim Sobolev acb70a00da When initialising s3 driver call fbPictureInit() like other drivers do. This
fixes a problem with RENDER extention not working with s3 driver. Bump
PORTREVISION.

Approved by:	maintainer (implicitly)
2002-08-26 17:41:46 +00:00

25 lines
511 B
C

$FreeBSD$
--- programs/Xserver/hw/xfree86/drivers/s3/s3_driver.c 2002/08/26 06:45:40 1.1
+++ programs/Xserver/hw/xfree86/drivers/s3/s3_driver.c 2002/08/26 06:49:53
@@ -174,6 +174,7 @@
#ifdef S3_USEFB
static const char *fbSymbols[] = {
"fbScreenInit",
+ "fbPictureInit",
NULL
};
#else
@@ -850,6 +851,11 @@
}
}
}
+
+#ifdef S3_USEFB
+ /* must be after RGB order fixed */
+ fbPictureInit (pScreen, 0, 0);
+#endif
S3DGAInit(pScreen);