From 46a07943cc22f97ea2411b68538c2cd120106edb Mon Sep 17 00:00:00 2001 From: Bobby Smith <33353403+bslenul@users.noreply.github.com> Date: Fri, 29 Aug 2025 02:29:54 +0200 Subject: [PATCH] [Libretro] Fix Windows build + D3D11 glitches --- libretro/Makefile | 3 ++- libretro/Makefile.common | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libretro/Makefile b/libretro/Makefile index ddc47d5702..de50cbd8c8 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -367,6 +367,7 @@ else ifneq (,$(findstring windows_msvc2019,$(platform))) WindowsSDKSharedIncludeDir := $(shell cygpath -w "$(WindowsSdkDir)\Include\$(WindowsSDKVersion)\shared") WindowsSDKUCRTIncludeDir := $(shell cygpath -w "$(WindowsSdkDir)\Include\$(WindowsSDKVersion)\ucrt") WindowsSDKUMIncludeDir := $(shell cygpath -w "$(WindowsSdkDir)\Include\$(WindowsSDKVersion)\um") + WindowsSDKWinRTIncludeDir := $(shell cygpath -w "$(WindowsSdkDir)\Include\$(WindowsSDKVersion)\winrt") WindowsSDKUCRTLibDir := $(shell cygpath -w "$(WindowsSdkDir)\Lib\$(WindowsSDKVersion)\ucrt\$(TargetArchMoniker)") WindowsSDKUMLibDir := $(shell cygpath -w "$(WindowsSdkDir)\Lib\$(WindowsSDKVersion)\um\$(TargetArchMoniker)") @@ -388,7 +389,7 @@ else ifneq (,$(findstring windows_msvc2019,$(platform))) PATH := $(shell IFS=$$'\n'; cygpath "$(VCCompilerToolsBinDir)"):$(PATH) PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VsInstallRoot)/Common7/IDE") - export INCLUDE := $(INCLUDE);$(WindowsSDKSharedIncludeDir);$(WindowsSDKUCRTIncludeDir);$(WindowsSDKUMIncludeDir) + export INCLUDE := $(INCLUDE);$(WindowsSDKSharedIncludeDir);$(WindowsSDKUCRTIncludeDir);$(WindowsSDKUMIncludeDir);$(WindowsSDKWinRTIncludeDir) export LIB := $(LIB);$(WindowsSDKUCRTLibDir);$(WindowsSDKUMLibDir);$(FFMPEGDIR)/Windows/$(TARGET_ARCH)/lib TARGET := $(TARGET_NAME)_libretro.dll PSS_STYLE :=2 diff --git a/libretro/Makefile.common b/libretro/Makefile.common index aa1de6dc51..28a0cacb24 100644 --- a/libretro/Makefile.common +++ b/libretro/Makefile.common @@ -998,9 +998,6 @@ SOURCES_CXX += \ SOURCES_CXX += \ $(COMMONDIR)/GPU/D3D11/D3D11Loader.cpp \ $(COMMONDIR)/GPU/D3D11/thin3d_d3d11.cpp - -INCFLAGS += -I$(CORE_DIR)/dx9sdk/Include/DX11 - endif SOURCES_CXX += \