diff options
Diffstat (limited to 'source/blender/blenkernel/intern/displist.c')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 9d741ecd307..4af7eb149fa 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -63,10 +63,6 @@ #include "BLI_sys_types.h" // for intptr_t support -#include <CoreServices/CoreServices.h> -#include <mach/mach.h> -#include <mach/mach_time.h> - static void boundbox_displist_object(Object *ob); void BKE_displist_elem_free(DispList *dl) @@ -1201,7 +1197,7 @@ void BKE_displist_make_surf(Scene *scene, Object *ob, ListBase *dispbase, DispList *dl; float *data; int len; - uint64_t timer_start = mach_absolute_time(); + /*uint64_t timer_start = mach_absolute_time();*/ if (!for_render && cu->editnurb) { BKE_nurbList_duplicate(&nubase, BKE_curve_editNurbs_get(cu)); @@ -1259,8 +1255,8 @@ void BKE_displist_make_surf(Scene *scene, Object *ob, ListBase *dispbase, for_render, use_render_resolution); } - uint64_t timer_stop = mach_absolute_time(); - int t = timer_stop-timer_start; + /*uint64_t timer_stop = mach_absolute_time(); + int t = timer_stop-timer_start;*/ nu = nubase.first; BKE_nurbList_free(&nubase); } |