commit | 3a1265588144b77b1eb160fc78bdd0129f5b1f1a | [log] [tgz] |
---|---|---|
author | Ethan Lee <flibitijibibo@flibitijibibo.com> | Mon Mar 04 12:16:43 2019 -0500 |
committer | Ethan Lee <flibitijibibo@flibitijibibo.com> | Mon Mar 04 12:16:43 2019 -0500 |
tree | f6c4a609cc92311c32e08fd58ae540b6c1fd6bbb | |
parent | 41abc0637c58450c798ed118a984fce98715679f [diff] |
cocoa: Fix assert to use SDL_assert
diff --git a/src/video/cocoa/SDL_cocoametalview.m b/src/video/cocoa/SDL_cocoametalview.m index 4255d0d..3d7e147 100644 --- a/src/video/cocoa/SDL_cocoametalview.m +++ b/src/video/cocoa/SDL_cocoametalview.m
@@ -121,7 +121,7 @@ SDL_cocoametalview* metalview = [view viewWithTag:METALVIEW_TAG]; if (metalview) { CAMetalLayer *layer = (CAMetalLayer*)metalview.layer; - assert(layer != NULL); + SDL_assert(layer != NULL); if (w) { *w = layer.drawableSize.width; }