Rename all cases of 'pixel density' to 'DPI scale' in love's APIs.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-09-24 16:09:05 -03:00
parent 1b3745b58b
commit 844900db39
37 changed files with 129 additions and 129 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ void Deprecations::draw(Graphics *gfx)
{
auto hinting = font::TrueTypeRasterizer::HINTING_NORMAL;
if (!isGammaCorrect() && gfx->getScreenPixelDensity() <= 1.0)
if (!isGammaCorrect() && gfx->getScreenDPIScale() <= 1.0)
hinting = font::TrueTypeRasterizer::HINTING_LIGHT;
font.set(gfx->newDefaultFont(9, hinting), Acquire::NORETAIN);