Codechange: Use null pointer literal instead of the NULL macro
This commit is contained in:

committed by
Michael Lutz

parent
3b4f224c0b
commit
7c8e7c6b6e
@@ -29,13 +29,13 @@ const char *VideoDriver_Null::Start(const char * const *parm)
|
||||
this->ticks = GetDriverParamInt(parm, "ticks", 1000);
|
||||
_screen.width = _screen.pitch = _cur_resolution.width;
|
||||
_screen.height = _cur_resolution.height;
|
||||
_screen.dst_ptr = NULL;
|
||||
_screen.dst_ptr = nullptr;
|
||||
ScreenSizeChanged();
|
||||
|
||||
/* Do not render, nor blit */
|
||||
DEBUG(misc, 1, "Forcing blitter 'null'...");
|
||||
BlitterFactory::SelectBlitter("null");
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void VideoDriver_Null::Stop() { }
|
||||
|
Reference in New Issue
Block a user