aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-04-03 18:14:01 +0200
committerSven Gothel <[email protected]>2013-04-03 18:14:01 +0200
commit8d3018d0852e1d44cb76298f6113629c110a1d4d (patch)
tree2cd66720cf4d70699301e35502ec8406f2699029 /src/jogl/native
parenta27af8dc7120eac0cf84a777e7a7d82dae548c01 (diff)
OSX CALayer minor edit: Call [super setFrame..] directly
Diffstat (limited to 'src/jogl/native')
-rw-r--r--src/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m3
1 files changed, 2 insertions, 1 deletions
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<CAAction>)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 {