This article is from the GNU Chess and XBoard FAQ, by Tim Mann email@example.com with numerous contributions by others.
This can happen if you have a bug in your Windows display driver. Check
with the manufacturer of your display card, the manufacturer of your
computer, or Microsoft to see if there is an updated driver available.
You can usually download updated drivers from the Web.
If you can't find an updated driver, you can try running Windows using a
different color depth and/or disabling some of the acceleration features
on your display card. You can do this from the Display applet on the
Windows control panel.