Commit 422887f3 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Ignore the gasp table when we have no hinter.

parent 90020c95
......@@ -464,6 +464,7 @@ static int GetCacheEntry(X11DRV_PDEVICE *physDev, LFANDSIZE *plfsz)
int format;
gsCacheEntry *entry;
WORD flags;
static int hinter = -1;
if((ret = LookupEntry(plfsz)) != -1) return ret;
......@@ -476,7 +477,13 @@ static int GetCacheEntry(X11DRV_PDEVICE *physDev, LFANDSIZE *plfsz)
if(antialias && plfsz->lf.lfQuality != NONANTIALIASED_QUALITY)
{
if(!get_gasp_flags(physDev, &flags) || flags & GASP_DOGRAY)
if(hinter == -1)
{
RASTERIZER_STATUS status;
GetRasterizerCaps(&status, sizeof(status));
hinter = status.wFlags & WINE_TT_HINTER_ENABLED;
}
if(!hinter || !get_gasp_flags(physDev, &flags) || flags & GASP_DOGRAY)
entry->aa_default = AA_Grey;
else
entry->aa_default = AA_None;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment