mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Rename all cases of 'pixel density' to 'DPI scale' in love's APIs.
--HG-- branch : minor
This commit is contained in:
@@ -239,7 +239,7 @@ int Texture::getPixelHeight(int mip) const
|
||||
return std::max(pixelHeight >> mip, 1);
|
||||
}
|
||||
|
||||
float Texture::getPixelDensity() const
|
||||
float Texture::getDPIScale() const
|
||||
{
|
||||
return (float) pixelHeight / (float) height;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user