Remove last remains of DirectDraw renderer
SDL2 patch replaced it with output=texture renderer=direct3d
This commit is contained in:
parent
1a58ccb14f
commit
7a415e3b8d
3 changed files with 0 additions and 31 deletions
20
configure.ac
20
configure.ac
|
@ -499,26 +499,6 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
AH_TEMPLATE(C_DDRAW,[Define to 1 to enable output=ddraw (Win32)])
|
||||
AC_ARG_ENABLE(ddraw,AC_HELP_STRING([--disable-ddraw],[Disable ddraw support]),,enable_ddraw=yes)
|
||||
AC_CHECK_HEADER(ddraw.h, have_ddraw_h=yes , have_ddraw_h=no , )
|
||||
AC_MSG_CHECKING(whether ddraw display output will be enabled)
|
||||
if test x$enable_ddraw = xyes; then
|
||||
case "$host" in
|
||||
*-*-cygwin* | *-*-mingw* | *-*-msys*)
|
||||
if test x$have_ddraw_h = xyes ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(C_DDRAW,1)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT(no)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
dnl Check for mprotect. Needed for 64 bits linux
|
||||
AH_TEMPLATE(C_HAVE_MPROTECT,[Define to 1 if you have the mprotect function])
|
||||
AC_CHECK_HEADER([sys/mman.h], [
|
||||
|
|
|
@ -99,14 +99,6 @@ extern char** environ;
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#if C_DDRAW
|
||||
#include <ddraw.h>
|
||||
struct private_hwdata {
|
||||
LPDIRECTDRAWSURFACE3 dd_surface;
|
||||
LPDIRECTDRAWSURFACE3 dd_writebuf;
|
||||
};
|
||||
#endif
|
||||
|
||||
#define STDOUT_FILE TEXT("stdout.txt")
|
||||
#define STDERR_FILE TEXT("stderr.txt")
|
||||
#define DEFAULT_CONFIG_FILE "/dosbox.conf"
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
/* Define to 1 to enable internal debugger, requires libcurses */
|
||||
#define C_DEBUG 0
|
||||
|
||||
/* Define to 1 to enable output=ddraw */
|
||||
#define C_DDRAW 1
|
||||
|
||||
/* Define to 1 to enable screenshots, requires libpng */
|
||||
#define C_SSHOT 1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue