The officer engaged in suppressing a riot, and those who aid him are authorized and justified in adopting such measures as are necessary to suppress the riot, but are not authorized to use any greater degree of force than is requisite to accomplish that object.
Tex. Code Crim. Proc. § 8.06