cocoa: Fix assert to use SDL_assert
authorEthan Lee <flibitijibibo@flibitijibibo.com>
Mon, 04 Mar 2019 12:16:43 -0500
changeset 12797a7ce9dc7a31f
parent 12796 5eab52b2ffd3
child 12798 92061a78e730
cocoa: Fix assert to use SDL_assert
src/video/cocoa/SDL_cocoametalview.m
     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          }