BACKENDS: Use nullptr
Using clang-tidy modernize-use-nullptr
This commit is contained in:
parent
b421c24eaf
commit
44219dfa1a
34 changed files with 211 additions and 211 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue