1
0
Fork 0

Remove last remains of DirectDraw renderer

SDL2 patch replaced it with output=texture renderer=direct3d
This commit is contained in:
Patryk Obara 2019-12-22 04:26:10 +01:00 committed by Patryk Obara
parent 1a58ccb14f
commit 7a415e3b8d
3 changed files with 0 additions and 31 deletions

View file

@ -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], [

View file

@ -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"

View file

@ -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