support for some non XRenderFindVisualFormat compliant windows (SDL)

svn path=/trunk/kdebase/kwin/; revision=387484
This commit is contained in:
Thomas Lübking 2005-02-08 17:43:49 +00:00
parent bdd2665a29
commit b4e399f065

View file

@ -226,7 +226,7 @@ XRenderPictFormat* sXRenderFindVisualFormat(Display *dpy, _Xconst Visual *visual
if (format)
return format;
else
return XRenderFindStandardFormat (dpy, PictStandardA8);
return XRenderFindStandardFormat (dpy, PictStandardNUM);
}
int