Fix compilation on mips64 platform

taken from debian
pull/398/head
Hleb Valoshka 2019-09-03 23:24:33 +03:00
parent 4eba4bfeba
commit cd53622a44
2 changed files with 3 additions and 3 deletions

View File

@ -139,10 +139,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),
pixels(NULL)
{

View File

@ -22,7 +22,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;