src/video/cocoa/SDL_cocoametalview.m
changeset 12797 a7ce9dc7a31f
parent 12503 806492103856
child 12998 b87ba0fad17e
     1.1 --- a/src/video/cocoa/SDL_cocoametalview.m	Sat Jun 08 14:58:49 2019 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoametalview.m	Mon Mar 04 12:16:43 2019 -0500
     1.3 @@ -121,7 +121,7 @@
     1.4      SDL_cocoametalview* metalview = [view viewWithTag:METALVIEW_TAG];
     1.5      if (metalview) {
     1.6          CAMetalLayer *layer = (CAMetalLayer*)metalview.layer;
     1.7 -        assert(layer != NULL);
     1.8 +        SDL_assert(layer != NULL);
     1.9          if (w) {
    1.10              *w = layer.drawableSize.width;
    1.11          }