I tried reproducing the problem in a new Irrlicht project, but it just doesn't happen, so I was wondering if anyone else has come across this issue before.
When I call lock() to grab an image's pixels from a texture, the image and all textures using the image become slightly more dark.
This happens when I copy from one image to another.
In the image below, I am trying to use IImage->copyTo() to copy a tile from the editor onto the world.
Each time that I select the ground to copyTo(), this weird thing happens.

Does anyone have any ideas or have seen this before??
I'm stumped
The weird thing is that if I never call unlock(), the image only becomes slightly dark once and never more dark again.
But if I lock(), unlock(), lock(), … repeatedly, it will get dark enough to be black.