Disable shaders when directx8 or directx9 is used