[PATCH] glx: Attempt to load swrastg too
Michel Dänzer
michel at daenzer.net
Tue Apr 19 10:56:47 PDT 2011
On Die, 2011-04-19 at 13:41 -0400, Adam Jackson wrote:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
> glx/glxdriswrast.c | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
> index ed142c1..5c123a2 100644
> --- a/glx/glxdriswrast.c
> +++ b/glx/glxdriswrast.c
> @@ -444,6 +444,14 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
> (void **)&screen->swrast,
> __DRI_SWRAST, __DRI_SWRAST_VERSION);
> if (screen->driver == NULL) {
> + driverName = "swrastg";
> + screen->driver = glxProbeDriver(driverName,
> + (void **)&screen->core,
> + __DRI_CORE, __DRI_CORE_VERSION,
> + (void **)&screen->swrast,
> + __DRI_SWRAST, __DRI_SWRAST_VERSION);
> + }
> + if (screen->driver == NULL) {
I think it would be better to install swrastg as swrast_dri.so.
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg-devel
mailing list