Depends on your non-resident license and who honors it.
There are 4 basic routes from Illinois to Texas, depending on where you start from and where you are going in Texas.
They either go through:
Iowa, Nebraska, Kansas & Oklahoma
Iowa, Missouri, Oklahoma
Oklahoma, Iowa and Missouri honor all states with a few minor caveats.
Nebraska, Kansas and Arkansas each have a list of states they will honor.