X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.c;h=9e966d93ef3f1f3ce1bb59089b7665f65d4d569f;hb=1521e22cc981acc74bd7420d78c35d7e4cc87491;hp=84fb6a1af617ad29d4d012370f7b236e8c60114c;hpb=ad4d70c1a8aec251798811712c39d5e692af5f58;p=xboard.git diff --git a/draw.c b/draw.c index 84fb6a1..9e966d9 100644 --- a/draw.c +++ b/draw.c @@ -282,9 +282,7 @@ ScaleOnePiece (int color, int piece) g_type_init (); - if(!svgPieces[color][piece]) { // try to freshly render cached svg pieces first, to supply the source bitmap - svgPieces[color][piece] = LoadSVG("", color, piece); // this fills pngPieceImages if we had cached svg with bitmap of wanted size - } + svgPieces[color][piece] = LoadSVG("", color, piece); // this fills pngPieceImages if we had cached svg with bitmap of wanted size if(!pngPieceImages[color][piece]) { // we don't have cached bitmap (implying we did not have cached svg) if(*appData.pieceDirectory) { // user specified piece directory