fix build with --disable-directx
4 files changed