Kaydet (Commit) b3818f53 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: 'setFlipped' is deprecated: first deprecated in OS X 10.6

Not sure if using lockFocusFlipped: has the same effect, but will
see...

Change-Id: I957874bcf59c2c521bd5b2b2ca6f44fb0400e64f
üst 39ffccd2
......@@ -1049,8 +1049,7 @@ NSImage* CreateNSImage( const Image& rImage )
NSImage* pImage = [[NSImage alloc] initWithSize: NSMakeSize( aSize.Width(), aSize.Height() )];
if( pImage )
{
[pImage setFlipped: YES];
[pImage lockFocus];
[pImage lockFocusFlipped:YES];
NSGraphicsContext* pContext = [NSGraphicsContext currentContext];
CGContextRef rCGContext = reinterpret_cast<CGContextRef>([pContext graphicsPort]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment