From: Andreas Färber Date: Sun, 13 Dec 2009 02:06:20 +0000 (+0100) Subject: Cocoa: Use optimized drawing for the window X-Git-Tag: v0.13.0-rc0~1788 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=561ef251e7896aa3c3abdab414dd154558d13d1a;p=thirdparty%2Fqemu.git Cocoa: Use optimized drawing for the window Default is NO. Signed-off-by: Andreas Färber Signed-off-by: malc --- diff --git a/cocoa.m b/cocoa.m index bb4325ce0b6..56c789a98c3 100644 --- a/cocoa.m +++ b/cocoa.m @@ -740,6 +740,7 @@ static int cocoa_keycode_to_qemu(int keycode) [normalWindow setAcceptsMouseMovedEvents:YES]; [normalWindow setTitle:[NSString stringWithFormat:@"QEMU"]]; [normalWindow setContentView:cocoaView]; + [normalWindow useOptimizedDrawing:YES]; [normalWindow makeKeyAndOrderFront:self]; [normalWindow center];