Skip to content

Commit

Permalink
Build DX11 for a Windows 8.1 minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Dec 11, 2024
1 parent 192c130 commit f223e5b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion d3d11game_win32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if(WIN32)
if(${DIRECTX_ARCH} MATCHES "^arm")
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0A00)
else()
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601)
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0603)
endif()
endif()

Expand Down
2 changes: 1 addition & 1 deletion d3d11game_win32/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <winsdkver.h>
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0601
#define _WIN32_WINNT 0x0603
#endif
#include <sdkddkver.h>

Expand Down
2 changes: 1 addition & 1 deletion d3d11game_win32_dr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if(WIN32)
if(${DIRECTX_ARCH} MATCHES "^arm")
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0A00)
else()
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601)
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0603)
endif()
endif()

Expand Down
2 changes: 1 addition & 1 deletion d3d11game_win32_dr/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <winsdkver.h>
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0601
#define _WIN32_WINNT 0x0603
#endif
#include <sdkddkver.h>

Expand Down

0 comments on commit f223e5b

Please sign in to comment.