summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-26 17:41:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-26 17:41:46 +0000
commitacb70a00da48bf020d35936bf55990817438add5 (patch)
tree03c51832dac27ca033b7711cf1b1fdce04451244 /x11/XFree86-4-libraries
parentAdd qinx 0.3, a QNX Photon like window decoration and widget style (diff)
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)
Notes
Notes: svn path=/head/; revision=65055
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r--x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c b/x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c
new file mode 100644
index 000000000000..025f8b857a09
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c
@@ -0,0 +1,25 @@
+
+$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);
+