diff --git a/patches/ddraw-Silence_FIXMEs/0001-ddraw-Silence-noisy-FIXME-about-unimplemented-D3DPRO.patch b/patches/ddraw-Silence_FIXMEs/0001-ddraw-Silence-noisy-FIXME-about-unimplemented-D3DPRO.patch new file mode 100644 index 00000000..45cb1f77 --- /dev/null +++ b/patches/ddraw-Silence_FIXMEs/0001-ddraw-Silence-noisy-FIXME-about-unimplemented-D3DPRO.patch @@ -0,0 +1,29 @@ +From ff117878cb3a0c74a50355ca64ac36c5fe6cee67 Mon Sep 17 00:00:00 2001 +From: Christian Costa +Date: Fri, 10 Mar 2017 22:07:37 +0100 +Subject: ddraw: Silence noisy FIXME about unimplemented + D3DPROCESSVERTICES_UPDATEEXTENTS. + +--- + dlls/ddraw/executebuffer.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/dlls/ddraw/executebuffer.c b/dlls/ddraw/executebuffer.c +index 393c52c1e2..9b64c687d3 100644 +--- a/dlls/ddraw/executebuffer.c ++++ b/dlls/ddraw/executebuffer.c +@@ -302,7 +302,10 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer, + ci->wStart, ci->wDest, ci->dwCount, ci->dwFlags); + + if (ci->dwFlags & D3DPROCESSVERTICES_UPDATEEXTENTS) +- FIXME("D3DPROCESSVERTICES_UPDATEEXTENTS not implemented.\n"); ++ { ++ static int once; ++ if (!once++) FIXME("D3DPROCESSVERTICES_UPDATEEXTENTS not implemented.\n"); ++ } + if (ci->dwFlags & D3DPROCESSVERTICES_NOCOLOR) + FIXME("D3DPROCESSVERTICES_NOCOLOR not implemented.\n"); + +-- +2.11.0 + diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 346477cd..a081300f 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -139,6 +139,7 @@ patch_enable_all () enable_ddraw_FlipToGDISurface="$1" enable_ddraw_IDirect3DTexture2_Load="$1" enable_ddraw_Rendering_Targets="$1" + enable_ddraw_Silence_FIXMEs="$1" enable_ddraw_Write_Vtable="$1" enable_devenum_AudioCompressorCategory="$1" enable_dinput_Initialize="$1" @@ -637,6 +638,9 @@ patch_enable () ddraw-Rendering_Targets) enable_ddraw_Rendering_Targets="$2" ;; + ddraw-Silence_FIXMEs) + enable_ddraw_Silence_FIXMEs="$2" + ;; ddraw-Write_Vtable) enable_ddraw_Write_Vtable="$2" ;; @@ -3701,6 +3705,18 @@ if test "$enable_ddraw_Rendering_Targets" -eq 1; then ) >> "$patchlist" fi +# Patchset ddraw-Silence_FIXMEs +# | +# | Modified files: +# | * dlls/ddraw/executebuffer.c +# | +if test "$enable_ddraw_Silence_FIXMEs" -eq 1; then + patch_apply ddraw-Silence_FIXMEs/0001-ddraw-Silence-noisy-FIXME-about-unimplemented-D3DPRO.patch + ( + printf '%s\n' '+ { "Christian Costa", "ddraw: Silence noisy FIXME about unimplemented D3DPROCESSVERTICES_UPDATEEXTENTS.", 1 },'; + ) >> "$patchlist" +fi + # Patchset ddraw-Write_Vtable # | # | This patchset fixes the following Wine bugs: