Use the "nullptr" literal.
"nullptr" should be used to denote the null pointer
This commit is contained in:
1 parent
70acf987b4
commit
f01ec55d21
19 files changed
+25
-25
No files matched your search
@@ -59,7 +59,7 @@ void CursorSoftware::updateTexture()
|
||||
CSDL_Ext::fillSurface(cursorSurface, CSDL_Ext::toSDL(Colors::TRANSPARENCY));
|
||||
|
||||
cursorImage->draw(cursorSurface);
|
||||
SDL_UpdateTexture(cursorTexture, NULL, cursorSurface->pixels, cursorSurface->pitch);
|
||||
SDL_UpdateTexture(cursorTexture, nullptr, cursorSurface->pixels, cursorSurface->pitch);
|
||||
needUpdate = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user