Which Supreme Court case put an end to the white-only primaries in Texas?

Select the best answer from the choices provided.
A.
Nixon v. Herndon
B.
Gaines v. Canada
C.
Sweatt v. Painter
D.
Smith v. Allwright