winex11: Disable sub-pixel antialiasing if Xrender isn't supported.

This commit is contained in:
Alexandre Julliard 2010-05-29 10:42:29 +02:00
parent 14b3db99c1
commit 7e23f9ce08
1 changed files with 3 additions and 0 deletions

View File

@ -988,6 +988,9 @@ static int GetCacheEntry(X11DRV_PDEVICE *physDev, LFANDSIZE *plfsz)
}
wine_tsx11_unlock();
}
/* we can't support subpixel without xrender */
if (!X11DRV_XRender_Installed && entry->aa_default > AA_Grey) entry->aa_default = AA_Grey;
}
else
entry->aa_default = AA_None;