Added State::getMaxTextureCoords() and State::getMaxTextureUnits() inline methods.