Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nuget/directxtk_desktop_win10.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SpriteBatch - simple & efficient 2D sprite rendering
SpriteFont - bitmap based text rendering
VertexTypes - structures for commonly used vertex data formats
WICTextureLoader - WIC-based image file texture loader</description>
<releaseNotes>Matches the March 31, 2026 release on GitHub.
<releaseNotes>Matches the May 7, 2026 release on GitHub.

DirectX Tool Kit for Audio in this package uses XAudio 2.9 which requires Windows 10 or later.</releaseNotes>
<projectUrl>http://go.microsoft.com/fwlink/?LinkId=248929</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion .nuget/directxtk_uwp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SpriteBatch - simple &amp; efficient 2D sprite rendering
SpriteFont - bitmap based text rendering
VertexTypes - structures for commonly used vertex data formats
WICTextureLoader - WIC-based image file texture loader</description>
<releaseNotes>Matches the March 31, 2026 release on GitHub.</releaseNotes>
<releaseNotes>Matches the May 7, 2026 release on GitHub.</releaseNotes>
<projectUrl>http://go.microsoft.com/fwlink/?LinkId=248929</projectUrl>
<repository type="git" url="https://github.com/microsoft/DirectXTK.git" />
<icon>images\icon.jpg</icon>
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT

## Release History

### May 7, 2026
* SpriteFont file loader updated to fix a potential overflow issue in 32-bit (x86) builds
* XWB reader updated to resolve a potential overflow issue when reading a malformed wavebank file
* CMake project updates
* Minor comments cleanup

### March 31, 2026
* Added SpriteFont **SetPixelAlignment** method for opt-in pixel snapping support
* VS 2026 support
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(POLICY CMP0162)
cmake_policy(SET CMP0162 NEW)
endif()

set(DIRECTXTK_VERSION 1.9.3)
set(DIRECTXTK_VERSION 1.9.4)

if(XBOX_CONSOLE_TARGET STREQUAL "durango")
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkId=248929

Copyright (c) Microsoft Corporation.

## March 31, 2026
## May 7, 2026

This package contains the "DirectX Tool Kit", a collection of helper classes for writing Direct3D 11 C++ code for Win32 desktop applications for Windows 8.1 or later, Xbox One, and Universal Windows Platform (UWP) apps for Windows 10 and Windows 11.

Expand Down
2 changes: 1 addition & 1 deletion Src/DDS.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkId=248926
// https://go.microsoft.com/fwlink/?LinkId=248926
// https://go.microsoft.com/fwlink/?LinkId=248929
// https://go.microsoft.com/fwlink/?LinkID=615561
//--------------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions build/CompilerAndLinker.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ endif()

#--- General MSVC-like SDL options
if(MSVC)
list(APPEND COMPILER_SWITCHES "$<$<NOT:$<CONFIG:DEBUG>>:/guard:cf>")
list(APPEND COMPILER_SWITCHES /Gd /GS /Zc:forScope /Zc:inline /Zc:wchar_t $<$<NOT:$<CONFIG:DEBUG>>:/guard:cf>)
list(APPEND LINKER_SWITCHES /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO)

if(WINDOWS_STORE)
Expand Down Expand Up @@ -130,7 +130,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|IntelLLVM")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
list(APPEND COMPILER_SWITCHES /Zc:__cplusplus /Zc:inline /fp:fast /Qdiag-disable:161)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
list(APPEND COMPILER_SWITCHES /sdl /Zc:forScope /Zc:inline /Zc:wchar_t /fp:fast)
list(APPEND COMPILER_SWITCHES /sdl /fp:fast)

if(WINDOWS_STORE)
list(APPEND COMPILER_SWITCHES /await)
Expand Down
Loading