mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-18 17:32:24 +08:00
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:
31
configure.ac
31
configure.ac
@@ -957,22 +957,23 @@ if test -n "$SDL2_LIBS"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$enable_d3d9 = xyes; then
|
if test x$enable_d3d9 = xyes; then
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-cygwin* | *-*-mingw32*)
|
*-*-cygwin* | *-*-mingw32*)
|
||||||
if test x$have_d3d9_h = xyes -a x$have_d3dx9math_h = xyes ; then
|
if test x$have_d3d9_h = xyes -a x$have_d3dx9math_h = xyes ; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(HAVE_D3D9_H,1)
|
AC_DEFINE(HAVE_D3D9_H,1)
|
||||||
if test x$enable_d3d_shaders = xyes; then
|
AC_DEFINE(C_DIRECT3D,1)
|
||||||
AC_DEFINE(C_D3DSHADERS,1)
|
if test x$enable_d3d_shaders = xyes; then
|
||||||
fi
|
AC_DEFINE(C_D3DSHADERS,1)
|
||||||
else
|
fi
|
||||||
AC_MSG_RESULT(no)
|
else
|
||||||
fi
|
AC_MSG_RESULT(no)
|
||||||
;;
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user