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)>
Sun, 8 May 2016 12:06:33 +0000 (14:06 +0200)
commitdb63f0000c54a092bb4f1a03691ed1111291b07f
tree3004757a45232d8795afca073e403023d773ef8d
parentebe17f3dae29fa51a6170440ef8cc20a02037e26
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