I am getting an "invalid operation" message error from my OGL error checking code whenever I use more than 2 textures--specifically when I use the glActiveTextureARB(GL_TEXTURE2_ARB) command. All three texture are there and seem to be working fine--why am I still getting these error messages?



