GL11.glTexEnvf(GL11.GL_TEXTURE_ENV, GL11.GL_ALPHA_SCALE, texture.getCombineScaleAlpha().floatValue());
unitRecord.envAlphaScale = texture.getCombineScaleAlpha();
}
// Time to set the RGB combines
final CombinerFunctionRGB rgbCombineFunc = texture.getCombineFuncRGB();
if (!unitRecord.isValid() || unitRecord.rgbCombineFunc != rgbCombineFunc) {
if (!checked) {
checkAndSetUnit(unit, record, caps);
checked = true;
}