From 0b0a5b7890b819d3fd51e093ef8771d5380f25ca Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 7 Dec 2016 06:59:24 +0100 Subject: [PATCH] Add HAVE_D3D9 ifdef --- gfx/common/d3d_common.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/common/d3d_common.cpp b/gfx/common/d3d_common.cpp index 4477b28766..620d8ade76 100644 --- a/gfx/common/d3d_common.cpp +++ b/gfx/common/d3d_common.cpp @@ -18,7 +18,9 @@ #include "d3d_common.h" +#ifdef HAVE_D3D9 #include "../include/d3d9/d3dx9tex.h" +#endif bool d3d_swap(void *data, LPDIRECT3DDEVICE dev) {