From acb70a00da48bf020d35936bf55990817438add5 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 26 Aug 2002 17:41:46 +0000 Subject: 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) --- ...:Xserver::hw::xfree86::drivers::s3::s3_driver.c | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 x11/XFree86-4-libraries/files/patch-programs::Xserver::hw::xfree86::drivers::s3::s3_driver.c (limited to 'x11/XFree86-4-libraries') 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); + -- cgit v1.2.3