diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -664,7 +664,7 @@ void VideoDriver_CocoaQuartz::AllocateBa kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Host ); - assert(this->cgcontext != NULL); + assert(this->cgcontext != nullptr); CGContextSetShouldAntialias(this->cgcontext, FALSE); CGContextSetAllowsAntialiasing(this->cgcontext, FALSE); CGContextSetInterpolationQuality(this->cgcontext, kCGInterpolationNone);