if texture is 0, glBindTexture does not have any texture object