mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Removed unnecessary tabs in empty lines, fixed texture filtering when the minification and mipmap filter are the same
This commit is contained in:
@@ -105,9 +105,9 @@ public:
|
||||
void setWrap(const Image::Wrap &w);
|
||||
|
||||
const Image::Wrap &getWrap() const;
|
||||
|
||||
|
||||
void setMipmapSharpness(float sharpness);
|
||||
|
||||
|
||||
float getMipmapSharpness() const;
|
||||
|
||||
void bind() const;
|
||||
@@ -143,22 +143,22 @@ private:
|
||||
|
||||
// The source vertices of the image.
|
||||
vertex vertices[4];
|
||||
|
||||
|
||||
// Mipmap texture LOD bias value
|
||||
float mipmapsharpness;
|
||||
|
||||
|
||||
// Implementation-dependent maximum/minimum mipmap sharpness values
|
||||
float maxmipmapsharpness;
|
||||
|
||||
|
||||
// The image's filter mode
|
||||
Image::Filter filter;
|
||||
|
||||
|
||||
// The image's wrap mode
|
||||
Image::Wrap wrap;
|
||||
|
||||
bool loadVolatilePOT();
|
||||
bool loadVolatileNPOT();
|
||||
|
||||
|
||||
void checkMipmapsCreated() const;
|
||||
|
||||
}; // Image
|
||||
|
||||
Reference in New Issue
Block a user