Skip to content

Commit

Permalink
d3d12: assume d3d12 sdk versions >= 3 are good
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed May 23, 2024
1 parent 5c35b7c commit cf0d49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/direct3d12/SDL_render_d3d12.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
#define ID3D12Resource_GetDesc(THIS, ...) \
D3D_CALL_RET(THIS, GetDesc, ##__VA_ARGS__);

#elif !defined(D3D12_SDK_VERSION) || D3D12_SDK_VERSION < 4
#elif !defined(D3D12_SDK_VERSION) || D3D12_SDK_VERSION < 3

#undef ID3D12DescriptorHeap_GetCPUDescriptorHandleForHeapStart
#define ID3D12DescriptorHeap_GetCPUDescriptorHandleForHeapStart(THIS, ...) do { \
Expand Down

0 comments on commit cf0d49b

Please sign in to comment.