From 9a9adab6486df6df29a0967cf004f878293dab64 Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 25 Nov 2012 14:01:28 +0000 Subject: [PATCH] (Removed some debugging code) --- .../juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm index 6981932dd2..93c8c158c0 100644 --- a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm @@ -777,17 +777,11 @@ public: insideDrawRect = false; } - #if 1 - static PerformanceCounter pc ("Software renderer blit"); - pc.start(); - #endif - CGColorSpaceRef colourSpace = CGColorSpaceCreateDeviceRGB(); CGImageRef image = juce_createCoreGraphicsImage (temp, false, colourSpace, false); CGColorSpaceRelease (colourSpace); CGContextDrawImage (cg, CGRectMake (r.origin.x, r.origin.y, clipW, clipH), image); CGImageRelease (image); - pc.stop(); } } }