The glaze most likely curdled because all your ingredients were not at room temperature. But don't worry--set the bowl with the glaze over a pan with hot water (like a double boiler) until it's quite loose. Remove from the double boiler, let it stand a bit, then whisk again. Voila, no more curdling!