I can’t find it documented anywhere but it seems to have the intended effect of “skipping” a texture stage if I call:


Is this kosher? It works here, but Lord knows what will happen down the road a few months…

No, this is illegal, it probably doesn’t skip a stage it will still be enabled, the stage may be producing white but depending on the previous texenv that may have an undesired effect.

Do a glGetError and you’ll see you’ve messed up.

Use glActiveTextureARB and glDisable to turn off a texture stage.

I do not get anything from glGetError by passing GL_ZERO. I check every frame for glGetError and nothing occurs when this is called.

Something else illegal, like GL_ONE, for instance, kills the program like JFK.

Nobody else, eh?

man, you noobs are a trip. not only are you ungreatful for help, from a moderator no less, but you then decline to listen to his advice!
read the freakin spec if you dont believe him. once you are over the neck-ache from hanging your head in shame, return and say “thanks for the help!”

… maybe we need a “babe in the woods” forum.

n00b my ass.

And if you’d read my reply, as I said, if I call


glGetError() Does NOT report anything. Whether this is a “normal” thing or just on my drivers, I don’t know, but you trolls who don’t want to read everything are a trip.