To call glTexGeni(), must I call the following first?
glBindTexture(texType, texId);
glEnable(texType);
Doing that will I set glTexGeni() to a desired texId?
Otherwise, what's the behaviour if I call glTexGeni() before glBindTexture():
glTexGeni(...);
glBindTexture(texType, texId);
glEnable(texType);