From 8d3018d0852e1d44cb76298f6113629c110a1d4d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 3 Apr 2013 18:14:01 +0200 Subject: OSX CALayer minor edit: Call [super setFrame..] directly --- src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jogl/native/macosx') diff --git a/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m b/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m index 0f1073c9d..35c9b6a7f 100644 --- a/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m +++ b/src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m @@ -214,6 +214,7 @@ extern GLboolean glIsVertexArray (GLuint array); - (void) applyNewPBuffer; - (void)setDedicatedSize:(CGSize)size; // @NWDedicatedSize +- (void) setFrame:(CGRect) frame; - (id)actionForKey:(NSString *)key ; - (NSOpenGLPixelFormat *)openGLPixelFormatForDisplayMask:(uint32_t)mask; - (NSOpenGLContext *)openGLContextForPixelFormat:(NSOpenGLPixelFormat *)pixelFormat; @@ -568,7 +569,7 @@ static const GLfloat gl_verts[] = { dedicatedHeight = size.height; CGRect rect = CGRectMake(0, 0, dedicatedWidth, dedicatedHeight); - [self setFrame: rect]; + [super setFrame: rect]; } - (void) setFrame:(CGRect) frame { -- cgit v1.2.3