mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Work around white not working as Cherckerboard color. r=kats
--HG-- extra : rebase_source : 768fe9d869c1aff743fbc69b5f537668eedf3298
This commit is contained in:
parent
265dfd84f3
commit
fb8fcecde6
@ -79,7 +79,11 @@ public class CheckerboardImage extends CairoImage {
|
||||
checkerboard image that is tinted to the color. Otherwise just return a flat
|
||||
image of the color. */
|
||||
public void update(boolean showChecks, int color) {
|
||||
mMainColor = color;
|
||||
// XXX We don't handle setting the color to white (-1),
|
||||
// there a bug somewhere but I'm not sure where,
|
||||
// let's hardcode the color for now to black and come back and fix it.
|
||||
//mMainColor = color;
|
||||
mMainColor = 0;
|
||||
mShowChecks = showChecks;
|
||||
|
||||
short mainColor16 = convertTo16Bit(mMainColor);
|
||||
|
Loading…
Reference in New Issue
Block a user