build: Remove WDDM_VERSION_NUMBER and LEGACY_D3DAPI_VERSION definitions

Cleaning up un-necessary pre-processor definitions

Signed-off-by: Benjamin Sluis <benjamin.sluis@intel.com>
This commit is contained in:
Benjamin Sluis
2025-11-17 16:05:44 +00:00
committed by Compute-Runtime-Automation
parent cf3f5d7499
commit 5b8729039e

View File

@@ -574,8 +574,7 @@ endif()
message(STATUS "Driver model : ${DRIVER_MODEL}")
if(WIN32 OR NOT DISABLE_WDDM_LINUX)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DWDDM_VERSION_NUMBER=23 -DNOMINMAX)
add_definitions(-DLEGACY_D3DAPI_VERSION=20)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
if(NOT WIN32)
add_definitions(-DWDDM_LINUX=1)
endif()