Initialized member variable mTexture to NULL in constructor to remove errors.