The county attorney of Crosby County, who performs the duties of a district attorney, is entitled to be compensated by the state in the manner and amount fixed by general law relating to the salary paid to district attorneys by the state.
Tex. Gov't. Code § 45.154