From 8fb22e951e63f274c02d223134a2735ddcfdae1f Mon Sep 17 00:00:00 2001 From: Ignacio Castano Date: Mon, 6 Jul 2020 11:04:47 -0700 Subject: [PATCH] Fix error reported by #312. --- src/nvimage/Image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvimage/Image.cpp b/src/nvimage/Image.cpp index 5ff362b..629d184 100644 --- a/src/nvimage/Image.cpp +++ b/src/nvimage/Image.cpp @@ -50,7 +50,7 @@ void Image::acquire(Color32 * data, uint w, uint h, uint d/*= 1*/) width = w; height = h; depth = d; - data = data; + this->data = data; } void Image::free()