if (genS != unitRecord.textureGenS) {
checkAndSetUnit(unit, record, caps);
if (genS) {
gl.glEnable(GL2.GL_TEXTURE_GEN_S);
} else {
gl.glDisable(GL2.GL_TEXTURE_GEN_S);
}
}
if (genT != unitRecord.textureGenT) {
checkAndSetUnit(unit, record, caps);
if (genT) {