warn only once on glTexEnv*