Removed some redundencies in GLTexture class