From 5776362b8075f7870b8592627d082b8e4e2aaf2c Mon Sep 17 00:00:00 2001 From: luz paz Date: Wed, 17 Mar 2021 20:43:45 -0400 Subject: Fix misc. typos Found via `codespell` --- NativeApp/Apple/Source/Classes/OSX/GLView.mm | 4 ++-- NativeApp/Apple/Source/Classes/OSX/WindowController.mm | 2 +- NativeApp/Apple/Source/Classes/iOS/AppViewBase.mm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'NativeApp/Apple/Source') diff --git a/NativeApp/Apple/Source/Classes/OSX/GLView.mm b/NativeApp/Apple/Source/Classes/OSX/GLView.mm index d4aef78..a942252 100644 --- a/NativeApp/Apple/Source/Classes/OSX/GLView.mm +++ b/NativeApp/Apple/Source/Classes/OSX/GLView.mm @@ -90,7 +90,7 @@ static CVReturn MyDisplayLinkCallback(CVDisplayLinkRef displayLink, { [super prepareOpenGL]; - // Application must be initialized befor display link is started + // Application must be initialized before display link is started [self initGL]; CVDisplayLinkRef displayLink; @@ -148,7 +148,7 @@ static CVReturn MyDisplayLinkCallback(CVDisplayLinkRef displayLink, // cost of framerate and battery life due to the GPU needing to render more // pixels. - // Any calculations the renderer does which use pixel dimentions, must be + // Any calculations the renderer does which use pixel dimensions, must be // in "retina" space. [NSView convertRectToBacking] converts point sizes // to pixel sizes. Thus the renderer gets the size in pixels, not points, // so that it can set it's viewport and perform and other pixel based diff --git a/NativeApp/Apple/Source/Classes/OSX/WindowController.mm b/NativeApp/Apple/Source/Classes/OSX/WindowController.mm index e3f7923..5904f6c 100644 --- a/NativeApp/Apple/Source/Classes/OSX/WindowController.mm +++ b/NativeApp/Apple/Source/Classes/OSX/WindowController.mm @@ -118,7 +118,7 @@ // this controller (self) [self setWindow:[self standardWindow]]; - // Set the content of the orginal window to the view + // Set the content of the original window to the view [[self window] setContentView: [self fullscreenWindow].contentView]; // Show the window and make it the key window for input diff --git a/NativeApp/Apple/Source/Classes/iOS/AppViewBase.mm b/NativeApp/Apple/Source/Classes/iOS/AppViewBase.mm index 84d1b01..3e75910 100644 --- a/NativeApp/Apple/Source/Classes/iOS/AppViewBase.mm +++ b/NativeApp/Apple/Source/Classes/iOS/AppViewBase.mm @@ -85,7 +85,7 @@ // Set it to our _animationFrameInterval [_displayLink setPreferredFramesPerSecond:_preferredFramesPerSecond]; - // Have the display link run on the default runn loop (and the main thread) + // Have the display link run on the default run loop (and the main thread) [_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; [super startAnimation]; -- cgit v1.2.3