src/render/metal/SDL_render_metal.m
changeset 11742 971cd689bd96
parent 11741 e7d5d4ae2e73
child 11743 3af68ade4d30
     1.1 --- a/src/render/metal/SDL_render_metal.m	Fri Dec 08 12:02:23 2017 -0800
     1.2 +++ b/src/render/metal/SDL_render_metal.m	Fri Dec 08 14:03:36 2017 -0500
     1.3 @@ -119,7 +119,7 @@
     1.4      }
     1.5  
     1.6      // this checks a weak symbol.
     1.7 -#if defined(__MACOSX__)
     1.8 +#if (defined(__MACOSX__) && (MAC_OS_X_VERSION_MIN_REQUIRED < 101100))
     1.9      if (MTLCreateSystemDefaultDevice == NULL) {  // probably on 10.10 or lower.
    1.10          return SDL_SetError("Metal framework not available on this system");
    1.11      }