MinGW: Define C_DIRECT3D to allow Direct3D output if Direct3D9 headers are present. This should enable Direct3D output on MinGW Windows (not yet tested)

This commit is contained in:
Jonathan Campbell
2019-02-10 15:12:57 -08:00
parent a5eef6673c
commit a78ed340f9

View File

@@ -962,6 +962,7 @@ case "$host" in
if test x$have_d3d9_h = xyes -a x$have_d3dx9math_h = xyes ; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_D3D9_H,1)
AC_DEFINE(C_DIRECT3D,1)
if test x$enable_d3d_shaders = xyes; then
AC_DEFINE(C_D3DSHADERS,1)
fi