src/video/cocoa/SDL_cocoametalview.m
changeset 12201 8bdc4d340419
parent 12002 9116d02d3feb
child 12320 758d4e1222a7
     1.1 --- a/src/video/cocoa/SDL_cocoametalview.m	Sat Aug 18 17:23:40 2018 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoametalview.m	Mon Sep 24 11:49:25 2018 -0700
     1.3 @@ -39,7 +39,7 @@
     1.4  /* Return a Metal-compatible layer. */
     1.5  + (Class)layerClass
     1.6  {
     1.7 -	return NSClassFromString(@"CAMetalLayer");
     1.8 +    return NSClassFromString(@"CAMetalLayer");
     1.9  }
    1.10  
    1.11  /* Indicate the view wants to draw using a backing layer instead of drawRect. */
    1.12 @@ -59,7 +59,7 @@
    1.13  - (instancetype)initWithFrame:(NSRect)frame
    1.14                          scale:(CGFloat)scale
    1.15  {
    1.16 -	if ((self = [super initWithFrame:frame])) {
    1.17 +    if ((self = [super initWithFrame:frame])) {
    1.18          _tag = METALVIEW_TAG;
    1.19          self.wantsLayer = YES;
    1.20  
    1.21 @@ -71,7 +71,7 @@
    1.22          self.layer.contentsScale = scale;
    1.23      }
    1.24    
    1.25 -	return self;
    1.26 +    return self;
    1.27  }
    1.28  
    1.29  /* Set the size of the metal drawables when the view is resized. */