diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-08-26 17:41:46 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-08-26 17:41:46 +0000 |
commit | 158b4280b3617fcc937a1add71842ea562be4855 (patch) | |
tree | 654ad8ce2081c444c49d4a1cde5234683d1524cb /x11 | |
parent | dcedbd608c2a0afda2fbe960b174f77bf70d8d35 (diff) | |
download | FreeBSD-ports-158b4280b3617fcc937a1add71842ea562be4855.zip FreeBSD-ports-158b4280b3617fcc937a1add71842ea562be4855.tar.gz |
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)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c | 25 |
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 0000000..025f8b8 --- /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); + |