diff options
| author | iam13islucky | 2017-04-23 22:51:35 -0600 |
|---|---|---|
| committer | GitHub | 2017-04-23 22:51:35 -0600 |
| commit | 73a9a85bc943819dffc33d27fc9783371b161681 (patch) | |
| tree | 0b859c965cca525e75de32646f00494b5c75d224 /core/image.cpp | |
| parent | b474646de081084dd691648f87d6057b77fbd819 (diff) | |
| download | godot-73a9a85bc943819dffc33d27fc9783371b161681.tar.gz godot-73a9a85bc943819dffc33d27fc9783371b161681.tar.zst godot-73a9a85bc943819dffc33d27fc9783371b161681.zip | |
Diffstat (limited to 'core/image.cpp')
| -rw-r--r-- | core/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image.cpp b/core/image.cpp index 5fb7cfa81..8a09dc1a8 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -94,7 +94,7 @@ void Image::_get_pixelb(int p_x, int p_y, uint32_t p_pixelsize, const uint8_t *p uint32_t ofs = (p_y * width + p_x) * p_pixelsize; for (uint32_t i = 0; i < p_pixelsize; i++) { - p_dst[ofs] = p_src[ofs + i]; + p_dst[i] = p_src[ofs + i]; } } |
