mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Rename all cases of 'pixel density' to 'DPI scale' in love's APIs.
--HG-- branch : minor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user