glGenTextures: correct the setting of the object name.