OpenGL texture memory leaks fixed.