mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
Converted David Ludwig's D3D11 renderer to C and optimized it.
The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS) This will need tweaking to fix the Windows RT build.
This commit is contained in:
11
configure
vendored
11
configure
vendored
@@ -21880,6 +21880,12 @@ if test "x$ac_cv_header_d3d9_h" = xyes; then :
|
||||
fi
|
||||
|
||||
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "d3d11_1.h" "ac_cv_header_d3d11_1_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_d3d11_1_h" = xyes; then :
|
||||
have_d3d11=yes
|
||||
fi
|
||||
|
||||
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_ddraw_h" = xyes; then :
|
||||
have_ddraw=yes
|
||||
@@ -22716,6 +22722,11 @@ fi
|
||||
|
||||
$as_echo "#define SDL_VIDEO_RENDER_D3D 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
if test x$enable_render_d3d = xyes -a x$have_d3d11 = xyes; then
|
||||
|
||||
$as_echo "#define SDL_VIDEO_RENDER_D3D11 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
fi
|
||||
# Set up files for the audio library
|
||||
|
||||
Reference in New Issue
Block a user