mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix an issue when calculating the number of mipmaps for a volume/3D texture.
This commit is contained in:
@@ -148,8 +148,8 @@ public:
|
||||
|
||||
static bool validateFilter(const Filter &f, bool mipmapsAllowed);
|
||||
|
||||
static int getMipmapCount(int w, int h);
|
||||
static int getMipmapCount(int w, int h, int d);
|
||||
static int getTotalMipmapCount(int w, int h);
|
||||
static int getTotalMipmapCount(int w, int h, int d);
|
||||
|
||||
static bool getConstant(const char *in, TextureType &out);
|
||||
static bool getConstant(TextureType in, const char *&out);
|
||||
|
||||
Reference in New Issue
Block a user