He will now try to defend his actions in a civil action that will destroy him just the same. Shooting without knowing what you are shooting at is “no bueno” even in Texas but the fact that the robber apparently shot at him may mitigate this somewhat.
I believe Texas grants immunity from civil suit in self defense cases.
Several states do so.