Ignore some GL calls when the features are disabled.