Worked around ATI/AMD driver bugs when creating mipmaps for Images

This commit is contained in:
Alex Szpakowski
2013-02-23 15:52:03 -04:00
parent d9736ab3ab
commit 472915a4bb
2 changed files with 62 additions and 45 deletions
+8 -5
View File
@@ -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