I just happend to have this link handy from a Terri Thread.
I'm assuming (not sure) that this is the law they are talking about.
http://www.capitol.state.tx.us/statutes/docs/HS/content/htm/hs.002.00.000166.00.htm
To find the section, do a search for the phrase "When There Is A Disagreement About Medical Treatment"
*"Life-sustaining treatment" means treatment that, based on reasonable medical judgment, sustains the life of a patient and without which the patient will die. The term includes both life-sustaining medications and artificial life support, such as mechanical breathing machines, kidney dialysis treatment, and artificial nutrition and hydration.
So they could have done the same thing to Terri legally.