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