Alexandre Julliard : winex11: Disable sub-pixel antialiasing if Xrender isn 't supported.
Alexandre Julliard
julliard at winehq.org
Mon May 31 11:21:35 CDT 2010
Module: wine
Branch: master
Commit: 7e23f9ce0891e006a82fafd9f172cde53f11965e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e23f9ce0891e006a82fafd9f172cde53f11965e
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat May 29 10:42:29 2010 +0200
winex11: Disable sub-pixel antialiasing if Xrender isn't supported.
---
dlls/winex11.drv/xrender.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index b13f2e4..cca3321 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -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;
More information about the wine-cvs
mailing list