diff options
| author | itsRevela <rexmarek@gmail.com> | 2026-11-22 09:36:23 -0600 |
|---|---|---|
| committer | itsRevela <rexmarek@gmail.com> | 2026-11-22 09:36:23 -0600 |
| commit | 7f9b28a8d64f45671f24ef96273a9380a7e2c38c (patch) | |
| tree | 04291e9205af38e4a103b6f07d8e0e766b175841 /runtime/test/gameinput_probe.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
fix(d3d12): build with Windows SDK headers that lack the D3D12 sample-pattern names
D3D12_STANDARD_MULTISAMPLE_PATTERN and D3D12_CENTER_MULTISAMPLE_PATTERN
are only in d3d12.h from DirectX-Headers 1.613 (D3D12_SDK_VERSION 613)
on; older Windows SDK 10.0.26100 headers lack them, so gta6rt_d3d12_com
and d3d12_vulkan_device_test stop with C2065 under VS 2022. They are
enum members, so an #ifndef fallback can't detect them. Use the equal
DXGI_STANDARD/CENTER_MULTISAMPLE_QUALITY_PATTERN macros from
dxgicommon.h, which d3d12.h includes on every SDK.
Diffstat (limited to 'runtime/test/gameinput_probe.cpp')
0 files changed, 0 insertions, 0 deletions