D3D8 and D3D9 widget #42

Merged
nishi merged 24 commits from dx9 into master 2026-09-22 11:16:36 +09:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 4e2c270908 - Show all commits

ok
Some checks are pending
pyrite-dev/milsko/pipeline/head Build started...

Nishi 2026-09-22 11:09:11 +09:00

2
NTMakefile generated
View file

@ -1,7 +1,7 @@
CC = cl /TC /c /nologo CC = cl /TC /c /nologo
LD = link /nologo LD = link /nologo
!if [where /R "%DXSDK_DIR%\\Include" d3d9.h >nul 2>nul] !if [where /R "%DXSDK_DIR%\\Include" /Q d3d9.h] == 0
!if [echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%DXSDK_DIR%\\Include">d3d9flags.mk] !if [echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%DXSDK_DIR%\\Include">d3d9flags.mk]
!endif !endif
!else !else

View file

@ -44,7 +44,7 @@ sub cobjs {
sub d3d9_detect_block { sub d3d9_detect_block {
return <<'EOF'; return <<'EOF';
!if [where /R "%DXSDK_DIR%\\Include" d3d9.h >nul 2>nul] !if [where /R "%DXSDK_DIR%\\Include" /Q d3d9.h] == 0
!if [echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%DXSDK_DIR%\\Include">d3d9flags.mk] !if [echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%DXSDK_DIR%\\Include">d3d9flags.mk]
!endif !endif
!else !else