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

@ -932,6 +932,8 @@ bool rcBuildDistanceField(rcContext* ctx, rcCompactHeightfield& chf)
ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD_BLUR); ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD_BLUR);
ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD);
rcFree(dst); rcFree(dst);
return true; return true;