mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Worked around ATI/AMD driver bugs when creating mipmaps for Images
This commit is contained in:
@@ -142,11 +142,14 @@ private:
|
||||
// The source vertices of the image.
|
||||
vertex vertices[4];
|
||||
|
||||
// Mipmap texture LOD bias value
|
||||
float mipmapsharpness;
|
||||
// Mipmap texture LOD bias (sharpness) value.
|
||||
float mipmapSharpness;
|
||||
|
||||
// Implementation-dependent maximum/minimum mipmap sharpness values
|
||||
float maxmipmapsharpness;
|
||||
// Implementation-dependent min/max mipmap sharpness values.
|
||||
float maxMipmapSharpness;
|
||||
|
||||
// True if mipmaps have been created for this Image.
|
||||
bool mipmapsCreated;
|
||||
|
||||
// The image's filter mode
|
||||
Image::Filter filter;
|
||||
@@ -157,7 +160,7 @@ private:
|
||||
bool loadVolatilePOT();
|
||||
bool loadVolatileNPOT();
|
||||
|
||||
void checkMipmapsCreated() const;
|
||||
void checkMipmapsCreated();
|
||||
|
||||
}; // Image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user