parent
4eba4bfeba
commit
cd53622a44
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue