summaryrefslogtreecommitdiffstats
path: root/NativeApp/Apple/Source
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2021-03-18 00:43:45 +0000
committerluz paz <luzpaz@users.noreply.github.com>2021-03-18 00:43:45 +0000
commit5776362b8075f7870b8592627d082b8e4e2aaf2c (patch)
treefcac53b85a8f10b5a6a698cdc7c3ccd21f700625 /NativeApp/Apple/Source
parentUpdated readme (diff)
downloadDiligentTools-5776362b8075f7870b8592627d082b8e4e2aaf2c.tar.gz
DiligentTools-5776362b8075f7870b8592627d082b8e4e2aaf2c.zip
Fix misc. typos
Found via `codespell`
Diffstat (limited to 'NativeApp/Apple/Source')
-rw-r--r--NativeApp/Apple/Source/Classes/OSX/GLView.mm4
-rw-r--r--NativeApp/Apple/Source/Classes/OSX/WindowController.mm2
-rw-r--r--NativeApp/Apple/Source/Classes/iOS/AppViewBase.mm2
3 files changed, 4 insertions, 4 deletions
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];