If you are running an early release copy, install every available patch. The original versions of Rome: Total War had well-documented conflicts with certain DirectX revisions, and updating both the game and DirectX resolves most of them.
Verifying the game files and refreshing your graphics drivers are the next steps if patching alone does not help.
Unreal Engine 4: Adding Player Input With Blueprints
The Witcher 3: How to Stop the "Gamepad/Keyboard Detected" Pop-Ups
Sequence 4 Cable News and On the Origin of Syrup – Assassin's Creed Syndicate Walkthrough
Shadow of Mordor PC Fixes: Crashes, Black Screen, Mouse, and Graphics
PES 2016: Tips to Dominate Opponents and Win