d3d12: Include <shlobj.h> with lowercase name

The Windows SDK file is <ShlObj.h> but MinGW uses <shlobj.h>. Since
Linux is case-sensitive and Windows isn't, use the MinGW casing.

Fixes: 05b66efb ("d3d12: Add a debug flag for loading WinPixGpuCapturer.dll")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10970
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28635>
This commit is contained in:
Jesse Natalie 2024-04-08 08:55:47 -07:00 committed by Marge Bot
parent 1fb74672a9
commit 2c1cb65949

View file

@ -57,7 +57,7 @@
#if defined(_WIN32) && defined(_WIN64) && !defined(_GAMING_XBOX)
#include <filesystem>
#include <ShlObj.h>
#include <shlobj.h>
#endif
#include <dxguids/dxguids.h>