diff --git a/HyperspaceView.mm b/HyperspaceView.mm index b2757fc..5d7a83c 100644 --- a/HyperspaceView.mm +++ b/HyperspaceView.mm @@ -110,7 +110,7 @@ - (void)setFrameSize:(NSSize)size if (lView) [lView setFrameSize:size]; - if ([self respondsToSelector:@selector(convertRectToBacking:)]) + if ([lView respondsToSelector:@selector(convertRectToBacking:)] && lView.wantsBestResolutionOpenGLSurface) // on Lion & later, if we're using a best resolution surface, then call glViewport() with the appropriate width and height for the backing { NSRect newBounds = [self convertRectToBacking:self.bounds];