you will need to install an add-on for directX, its called Enduser Runtime, or something similar.http://epicpw.com/support/known-issues-and-fixes/error 5, i think it fixes the same.if it doesn't it might be your graphic card, make sure its up to date.
there is a file inside the element folder, inside the EpicPW game folder.search for dxwebsetupit should fix the directX problem.if its not directX then it have to be graphic card problem. u need to update it.check the settings btw in your game, can be that too.