Skip to content

Commit

Permalink
revert to default DPI is DPI is not available (test)
Browse files Browse the repository at this point in the history
  • Loading branch information
cklosters committed Jun 5, 2022
1 parent 1ad3fe2 commit fcd3910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/naprender/src/renderservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2448,7 +2448,7 @@ namespace nap
int dr = SDL::getDisplayDPI(index, &mDDPI, &mHDPI, &mVDPI);
bool name = SDL::getDisplayName(index, mName);
int br = SDL::getDisplayBounds(index, mMin, mMax);
mValid = dr == 0 && name && br == 0;
mValid = (br == 0);
}


Expand Down

0 comments on commit fcd3910

Please sign in to comment.