Re: Does NSOpenGLView override -isOpaque?
Re: Does NSOpenGLView override -isOpaque?
- Subject: Re: Does NSOpenGLView override -isOpaque?
- From: Corbin Dunn <email@hidden>
- Date: Fri, 6 Jan 2012 09:50:40 -0800
On Jan 6, 2012, at 3:03 AM, Vincent Habchi wrote:
> Hi there, and happy new year to everybody!
>
> I had to battle to correctly display an NSOpenGLView whose context was set to "draw under" (Glint swapInt = 1; [[self openGLContext] setValues:&swapInt forParameter:NSOpenGLCPSwapInterval];). It seems that NSOpenGLView silently overrides the -isOpaque method of NSView to return YES instead of NO; Is that intended behavior (I can’t find any documentation about it)?
>
Yes, NSOpenGLView has:
- (BOOL)isOpaque {
return YES;
}
corbin
> Cheers!
> Vincent
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden