Rename variable mips to mip to fix compilation on mips64
Based on the patch from Debianpull/3/head
parent
f8d3815a70
commit
f0c568dbf3
|
@ -90,10 +90,10 @@ static int calcMipLevelSize(int fmt, int w, int h, int mip)
|
|||
}
|
||||
|
||||
|
||||
Image::Image(int fmt, int w, int h, int mips) :
|
||||
Image::Image(int fmt, int w, int h, int mip) :
|
||||
width(w),
|
||||
height(h),
|
||||
mipLevels(mips),
|
||||
mipLevels(mip),
|
||||
format(fmt)
|
||||
{
|
||||
components = formatComponents(fmt);
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
class Image
|
||||
{
|
||||
public:
|
||||
Image(int fmt, int w, int h, int mips = 1);
|
||||
Image(int fmt, int w, int h, int mip = 1);
|
||||
~Image();
|
||||
|
||||
int getWidth() const;
|
||||
|
|
Loading…
Reference in New Issue