This commit is contained in:
Chuck Walbourn 2022-08-17 14:16:37 -07:00
Родитель 669addf3b3
Коммит 9b5ce6286f
4 изменённых файлов: 15 добавлений и 7 удалений

Просмотреть файл

@ -3,7 +3,7 @@
cmake_minimum_required (VERSION 3.13)
set(DXUT_VERSION 11.27)
set(DXUT_VERSION 11.28)
project (DXUT
VERSION ${DXUT_VERSION}
@ -154,17 +154,17 @@ install(TARGETS ${PROJECT_NAME}Opt
configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}-config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}-config.cmake
INSTALL_DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME}/cmake/)
INSTALL_DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME})
install(EXPORT ${PROJECT_NAME}-targets
FILE ${PROJECT_NAME}-targets.cmake
NAMESPACE Microsoft::
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME}/cmake/)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME})
install(EXPORT ${PROJECT_NAME}Opt-targets
FILE ${PROJECT_NAME}Opt-targets.cmake
NAMESPACE Microsoft::
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME}/cmake/)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME})
install(FILES ${CORE_LIBRARY_HEADERS} ${OPT_LIBRARY_HEADERS}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME})
@ -172,7 +172,7 @@ install(FILES ${CORE_LIBRARY_HEADERS} ${OPT_LIBRARY_HEADERS}
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}-config-version.cmake
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME}/cmake/)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME})
if(MSVC)
target_compile_options(${PROJECT_NAME} PRIVATE /fp:fast "$<$<NOT:$<CONFIG:DEBUG>>:/guard:cf>")

Просмотреть файл

@ -133,7 +133,7 @@
((DWORD)((((a)&0xff)<<24)|(((r)&0xff)<<16)|(((g)&0xff)<<8)|((b)&0xff)))
#endif
#define DXUT_VERSION 1127
#define DXUT_VERSION 1128
//--------------------------------------------------------------------------------------
// Structs

Просмотреть файл

@ -4,6 +4,10 @@ http://go.microsoft.com/fwlink/?LinkId=320437
## Release History
## August 17, 2022 (11.28)
* *breaking change* DDSTextureLoader ``Ex`` functions now use ``DDS_LOADER_FLAGS`` instead of ``bool forceSRGB`` parameter.
* CMake and MSBuild project updates
## May 23, 2022 (11.27)
* Updated DDSTextureLoader, WICTextureLoader, and ScreenGrab
* Add VS 2022 projects, retired VS 2017 projects

Просмотреть файл

@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=320437
Copyright (c) Microsoft Corporation.
**May 23, 2022**
**August 17, 2022**
DXUT is a "GLUT"-like framework for Direct3D 11.x Win32 desktop applications; primarily samples, demos, and prototypes.
@ -37,6 +37,10 @@ For the latest version of DXUT for Direct3D 11, please visit the project site on
> The legacy versions of **DXUT for DX11/DX9** and **DXUT for DX10/DX9** version are on [GitHub](https://github.com/walbourn/directx-sdk-legacy-samples). These both require using [Microsoft.DXSDK.D3DX](https://www.nuget.org/packages/Microsoft.DXSDK.D3DX).
## Release Notes
* Starting with the July 2022 release, the ``bool forceSRGB`` parameter for DDSTextureLoader ``Ex`` functions is now a ``DDS_LOADER_FLAGS`` typed enum bitmask flag parameter. This may have a *breaking change* impact to client code. Replace ``true`` with ``DDS_LOADER_FORCE_SRGB`` and ``false`` with ``DDS_LOADER_DEFAULT``.
## Support
For questions, consider using [Stack Overflow](https://stackoverflow.com/questions/tagged/dxut) with the *dxut* tag.