Applied patch from issue #542 (texture filtering inconsistencies) in main LÖVE repository

This commit is contained in:
Alexander Szpakowski
2013-01-01 21:29:38 -04:00
parent a8dc813258
commit 1678252b7a
15 changed files with 315 additions and 204 deletions
+1 -8
View File
@@ -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