BACKENDS: Use nullptr

Using clang-tidy modernize-use-nullptr
This commit is contained in:
Orgad Shaneh 2021-11-13 23:33:13 +02:00 committed by Filippos Karapetis
parent b421c24eaf
commit 44219dfa1a
34 changed files with 211 additions and 211 deletions

View file

@ -258,7 +258,7 @@ void SdlWindow::getDisplayDpi(float *dpi, float *defaultDpi) const {
if (dpi) {
#if SDL_VERSION_ATLEAST(2, 0, 4)
if (SDL_GetDisplayDPI(getDisplayIndex(), NULL, dpi, NULL) != 0) {
if (SDL_GetDisplayDPI(getDisplayIndex(), nullptr, dpi, nullptr) != 0) {
*dpi = systemDpi;
}
#else