Re: Does NSOpenGLView override -isOpaque?

2012-01-09 Thread Corbin Dunn
On Jan 6, 2012, at 11:57 AM, vincent habchi wrote: Corbin, Yes, NSOpenGLView has: - (BOOL)isOpaque { return YES; } Thanks for your answer! Could the documentation then mention than when an NSOpenGLView occupies the whole frame of its parent window, and when its context is set

Does NSOpenGLView override -isOpaque?

2012-01-06 Thread Vincent Habchi
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

Re: Does NSOpenGLView override -isOpaque?

2012-01-06 Thread Vincent Habchi
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 Oops, that was not the

Re: Does NSOpenGLView override -isOpaque?

2012-01-06 Thread Corbin Dunn
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

Re: Does NSOpenGLView override -isOpaque?

2012-01-06 Thread vincent habchi
Corbin, Yes, NSOpenGLView has: - (BOOL)isOpaque { return YES; } Thanks for your answer! Could the documentation then mention than when an NSOpenGLView occupies the whole frame of its parent window, and when its context is set to draw under, one should override -isOpaque to return NO,