mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Changed image mipmap api: Image:setFilter now takes an optional third argument (mipmap filter mode), Image:get/setMipmapFilter is removed.
This commit is contained in:
@@ -97,7 +97,7 @@ public:
|
||||
/**
|
||||
* Sets the filter mode.
|
||||
*
|
||||
* @param mode The filter mode.
|
||||
* @param f The filter mode.
|
||||
**/
|
||||
void setFilter(const Image::Filter &f);
|
||||
|
||||
@@ -147,6 +147,7 @@ private:
|
||||
// Mipmap texture LOD bias value
|
||||
float mipmapsharpness;
|
||||
|
||||
// Implementation-dependent maximum/minimum sharpness values
|
||||
float maxmipmapsharpness;
|
||||
|
||||
// The image's filter mode
|
||||
|
||||
Reference in New Issue
Block a user