diff --git a/src/nvimage/Image.cpp b/src/nvimage/Image.cpp index 5ff362b..2e891f1 100644 --- a/src/nvimage/Image.cpp +++ b/src/nvimage/Image.cpp @@ -44,13 +44,13 @@ void Image::allocate(uint w, uint h, uint d/*= 1*/) data = realloc(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()