Fix compile without DIRECTX
3 files changed