Allow transparency in board textures
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 21 Apr 2016 20:14:00 +0000 (22:14 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 21 Apr 2016 20:14:00 +0000 (22:14 +0200)
commit6341a1e8f282d099affed789a69bad4660fe9cdc
tree2ce632e6a524664be4242c7b6d958cdda4bdbfda
parent71f9aa1de592bfa0964e25322122513b9107b4d4
Allow transparency in board textures

Rather than coloring the square evenly OR rendering a board texture
cutout we now always do both. Drawing the color will then erase anything
that was on the square before, which is expected behavior, and will then
remain visible where the texture is transparent. Before any transparency
in the texture would leave the old square content (pieces, arrows,
markers) visible.
draw.c