GL11.glTexEnvi(GL11.GL_TEXTURE_ENV, ARBTextureEnvCombine.GL_SOURCE0_ALPHA_ARB,
LwjglTextureUtil.getGLCombineSrc(combSrcAlpha));
unitRecord.combSrcAlpha0 = combSrcAlpha;
}
CombinerOperandAlpha combOpAlpha = texture.getCombineOp0Alpha();
if (!unitRecord.isValid() || unitRecord.combOpAlpha0 != combOpAlpha) {
if (!checked) {
checkAndSetUnit(unit, record, caps);
checked = true;
}