Add HAVE_D3D9 ifdef

This commit is contained in:
twinaphex 2016-12-02 01:46:16 +01:00
parent c8ff6d9030
commit c3ea6d1385

View File

@ -28,7 +28,10 @@
#include "../../gfx/video_context_driver.h"
#include "../../gfx/drivers/d3d.h"
#include "../../gfx/common/d3d_common.h"
#ifdef HAVE_D3D9
#include "../../gfx/include/d3d9/d3dx9math.h"
#endif
#define BYTE_CLAMP(i) (int) ((((i) > 255) ? 255 : (((i) < 0) ? 0 : (i))))