src/video/cocoa/SDL_cocoametalview.m
changeset 11402 d459d8934897
parent 11388 16b174adc603
child 11407 ff9e8ae4d4fb
     1.1 --- a/src/video/cocoa/SDL_cocoametalview.m	Mon Aug 28 19:32:08 2017 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoametalview.m	Mon Aug 28 20:52:05 2017 -0700
     1.3 @@ -40,7 +40,7 @@
     1.4  /* Return a Metal-compatible layer. */
     1.5  + (Class)layerClass
     1.6  {
     1.7 -  return [CAMetalLayer class];
     1.8 +  return NSClassFromString(@"CAMetalLayer");
     1.9  }
    1.10  
    1.11  /* Indicate the view wants to draw using a backing layer instead of drawRect. */