mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Applied patch from issue #542 (texture filtering inconsistencies) in main LÖVE repository
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
||||
|
||||
Image::Filter getFilter() const;
|
||||
|
||||
void setWrap(Image::Wrap r);
|
||||
void setWrap(Image::Wrap &w);
|
||||
|
||||
Image::Wrap getWrap() const;
|
||||
|
||||
@@ -118,10 +118,6 @@ public:
|
||||
|
||||
static bool hasNpot();
|
||||
|
||||
// The default filter.
|
||||
static void setDefaultFilter(const Image::Filter &f);
|
||||
static const Image::Filter &getDefaultFilter();
|
||||
|
||||
private:
|
||||
|
||||
void drawv(const Matrix &t, const vertex *v) const;
|
||||
@@ -153,9 +149,6 @@ private:
|
||||
bool loadVolatilePOT();
|
||||
bool loadVolatileNPOT();
|
||||
|
||||
// The default image filter
|
||||
static Image::Filter defaultFilter;
|
||||
|
||||
}; // Image
|
||||
|
||||
} // opengl
|
||||
|
||||
Reference in New Issue
Block a user