fix typo (name duplicated)

input argument name(data) was duplicated with class member(data).
pull/315/head
Ryan 4 years ago committed by GitHub
parent 3e034d2de1
commit 83e0eda0b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,13 +44,13 @@ void Image::allocate(uint w, uint h, uint d/*= 1*/)
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();
width = w;
height = h;
depth = d;
data = data;
data = inData;
}
void Image::free()

Loading…
Cancel
Save