(a) The commissioners court of a county may sell and deliver county surplus water to:
(1) a public corporation of this state; or
(2) a political subdivision of this state, including a municipality, water control and improvement district, or fresh water supply district.
(b) A county shall credit money received from the sale of county surplus water to the general fund of the county and may spend the money for general county purposes.