Distance field timer was not halted.

This commit is contained in:
Mikko Mononen 2010-08-26 18:40:22 +00:00
parent c6ce6e2ba9
commit da3852cfcd

View File

@ -931,6 +931,8 @@ bool rcBuildDistanceField(rcContext* ctx, rcCompactHeightfield& chf)
chf.dist = src; chf.dist = src;
ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD_BLUR); ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD_BLUR);
ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD);
rcFree(dst); rcFree(dst);