Unverified Commit ce9ea544 authored by Mike Gabriel's avatar Mike Gabriel

Merge branch 'pr/anti-aliasing-rgba-crash' into 3.6.x

parents 8cf9283b ffc87da6
......@@ -85,8 +85,8 @@ XRenderParseColor(Display *dpy, char *spec, XRenderColor *def)
def->blue = coreColor.blue;
def->alpha = 0xffff;
}
def->red = (def->red * def->alpha) / 65535;
def->green = (def->green * def->alpha) / 65535;
def->blue = (def->blue * def->alpha) / 65535;
def->red = (def->red * def->alpha) / 0xffffU;
def->green = (def->green * def->alpha) / 0xffffU;
def->blue = (def->blue * def->alpha) / 0xffffU;
return 1;
}
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