Hi, I am using Xcode and objective-C, with OpenGL ES. I was just wondering if anyone has come across the corruption of textures like this? For reference, the entire background is blue and the leaves should be green.
Click image for larger version. 

Name:	Screen Shot 2017-10-20 at 5.47.58 PM.jpg 
Views:	13 
Size:	11.2 KB 
ID:	2527
The source code is very involved, and it's not mine so I don't know which parts I would even have to paste. I'm just posting in case someone happens to know any clue of why textures would turn out like this, even though all other OpenGL operations are intact. I believe NSLock (mutex) could be a source of the problem but thats it.