diff options
author | M. Huri <kak_huri@yahoo.com> | 2021-10-12 14:30:55 +0700 |
---|---|---|
committer | M. Huri <kak_huri@yahoo.com> | 2021-10-12 20:20:19 +0700 |
commit | 033dc4dbefed22aab7b58a60e27ce3c86943fe25 (patch) | |
tree | 50ce05c3bce0431937f6c070b7f0042682065ace /platform | |
parent | f9aec342dcd51d65c5970dd395e3c7a66cac446c (diff) |
Replaced NULL with nullptr
Diffstat (limited to 'platform')
-rw-r--r-- | platform/osx/display_server_osx.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/osx/display_server_osx.mm b/platform/osx/display_server_osx.mm index da6c45793a..3fe055a511 100644 --- a/platform/osx/display_server_osx.mm +++ b/platform/osx/display_server_osx.mm @@ -3014,7 +3014,7 @@ void DisplayServerOSX::cursor_set_custom_image(const RES &p_cursor, CursorShape ERR_FAIL_COND(!image.is_valid()); NSBitmapImageRep *imgrep = [[NSBitmapImageRep alloc] - initWithBitmapDataPlanes:NULL + initWithBitmapDataPlanes:nullptr pixelsWide:int(texture_size.width) pixelsHigh:int(texture_size.height) bitsPerSample:8 @@ -3418,7 +3418,7 @@ void DisplayServerOSX::set_icon(const Ref<Image> &p_icon) { img = img->duplicate(); img->convert(Image::FORMAT_RGBA8); NSBitmapImageRep *imgrep = [[NSBitmapImageRep alloc] - initWithBitmapDataPlanes:NULL + initWithBitmapDataPlanes:nullptr pixelsWide:img->get_width() pixelsHigh:img->get_height() bitsPerSample:8 |