fix typo (name duplicated)
input argument name(data) was duplicated with class member(data).
This commit is contained in:
parent
3e034d2de1
commit
83e0eda0b5
|
@ -44,13 +44,13 @@ void Image::allocate(uint w, uint h, uint d/*= 1*/)
|
||||||
data = realloc<Color32>(data, w * h * d);
|
data = realloc<Color32>(data, w * h * d);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Image::acquire(Color32 * data, uint w, uint h, uint d/*= 1*/)
|
void Image::acquire(Color32 * inData, uint w, uint h, uint d/*= 1*/)
|
||||||
{
|
{
|
||||||
free();
|
free();
|
||||||
width = w;
|
width = w;
|
||||||
height = h;
|
height = h;
|
||||||
depth = d;
|
depth = d;
|
||||||
data = data;
|
data = inData;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Image::free()
|
void Image::free()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user