mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Moved anisotropic filtering to Image:setFilter(min, mag, anisotropy), added anisotropic filtering support to canvases and fonts
This commit is contained in:
@@ -72,6 +72,9 @@ public:
|
||||
void setWrap(const Image::Wrap &w);
|
||||
Image::Wrap getWrap() const;
|
||||
|
||||
void setAnisotropy(float anisotropy);
|
||||
float getAnisotropy() const;
|
||||
|
||||
int getWidth();
|
||||
int getHeight();
|
||||
|
||||
@@ -119,6 +122,7 @@ private:
|
||||
{
|
||||
Image::Filter filter;
|
||||
Image::Wrap wrap;
|
||||
float anisotropy;
|
||||
} settings;
|
||||
|
||||
void drawv(const Matrix &t, const vertex *v) const;
|
||||
|
||||
Reference in New Issue
Block a user