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
+3 -3
View File
@@ -31,10 +31,10 @@ namespace graphics
love::Type Video::type("Video", &Drawable::type);
Video::Video(Graphics *gfx, love::video::VideoStream *stream, float pixeldensity)
Video::Video(Graphics *gfx, love::video::VideoStream *stream, float dpiscale)
: stream(stream)
, width(stream->getWidth() / pixeldensity)
, height(stream->getHeight() / pixeldensity)
, width(stream->getWidth() / dpiscale)
, height(stream->getHeight() / dpiscale)
, filter(Texture::defaultFilter)
{
filter.mipmap = Texture::FILTER_NONE;