We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operating system or device - Godot version: N/A - current master
Issue description: Possible bug in Image::_get_pixelb:
void Image::_get_pixelb(int p_x, int p_y, uint32_t p_pixelsize, const uint8_t *p_src, uint8_t *p_dst) { 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]; // <<<<<<<<<<<< } }
i think: p_dst[ofs] = p_src[ofs + i]; should be: p_dst[i] = p_src[ofs + i];
p_dst[ofs] = p_src[ofs + i];
p_dst[i] = p_src[ofs + i];
Steps to reproduce: N/A
Link to minimal example project: why i need that private member?: https://godotengine.org/qa/13482
The text was updated successfully, but these errors were encountered:
[3.0] Fix bug in Image::_get_pixelb
c05f6e0
Fixes issue: godotengine#8158
No branches or pull requests
Operating system or device - Godot version:
N/A - current master
Issue description:
Possible bug in Image::_get_pixelb:
i think:
p_dst[ofs] = p_src[ofs + i];
should be:
p_dst[i] = p_src[ofs + i];
Steps to reproduce:
N/A
Link to minimal example project:
why i need that private member?:
https://godotengine.org/qa/13482
The text was updated successfully, but these errors were encountered: