summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-11-08 22:35:24 +0800
committerruki <[email protected]>2022-11-08 22:35:24 +0800
commit4752d974156a2aff70215b73df461f26c843d9a2 (patch)
tree91df1461cf7fe49860af3c0d28507bfcd3567475
parentb35ff3118fa657407b1e06750d5cc5710e2b8f44 (diff)
strip spaces
-rw-r--r--tests/projects/objc/metal_app/Application/AAPLViewController.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/projects/objc/metal_app/Application/AAPLViewController.m b/tests/projects/objc/metal_app/Application/AAPLViewController.m
index dc02a8c4a..5604a5e22 100644
--- a/tests/projects/objc/metal_app/Application/AAPLViewController.m
+++ b/tests/projects/objc/metal_app/Application/AAPLViewController.m
@@ -21,13 +21,13 @@ Implementation of our cross-platform view controller
// Set the view to use the default device
_view = (MTKView *)self.view;
-
+
_view.device = MTLCreateSystemDefaultDevice();
-
+
NSAssert(_view.device, @"Metal is not supported on this device");
-
+
_renderer = [[AAPLRenderer alloc] initWithMetalKitView:_view];
-
+
NSAssert(_renderer, @"Renderer failed initialization");
// Initialize our renderer with the view size