added glTexParams