thanks guys but I figured it out. My graphics cards accelerator was set to low. I raised it up to almost full and its working fine. Thanks anyway.