Merge pull request #8506 from iam13islucky/patch-1

[3.0] Fix bug in Image::_get_pixelb
This commit is contained in:
Rémi Verschelde 2017-04-24 12:02:10 +02:00 committed by GitHub
commit 1dc689b513
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}
}