src/video/cocoa/SDL_cocoametalview.m
changeset 11407 ff9e8ae4d4fb
parent 11402 d459d8934897
child 11435 181eadbddae2
     1.1 --- a/src/video/cocoa/SDL_cocoametalview.m	Mon Aug 28 21:42:39 2017 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoametalview.m	Mon Aug 28 22:13:45 2017 -0700
     1.3 @@ -28,6 +28,8 @@
     1.4  
     1.5  #import "SDL_cocoametalview.h"
     1.6  
     1.7 +#if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_COCOA
     1.8 +
     1.9  #include "SDL_assert.h"
    1.10  #include "SDL_loadso.h"
    1.11  #include <dlfcn.h>
    1.12 @@ -116,5 +118,6 @@
    1.13      }
    1.14  }
    1.15  
    1.16 +#endif /* SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_COCOA */
    1.17 +
    1.18  /* vi: set ts=4 sw=4 expandtab: */
    1.19 -