Mesa (main): d3d12: Convert #include <Windows.h> to #include <windows.h> for mingw on linux

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 23 10:06:39 UTC 2022


Module: Mesa
Branch: main
Commit: 05097d1f6c366fe3384063782cf4a391219870bd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05097d1f6c366fe3384063782cf4a391219870bd

Author: Yonggang Luo <luoyonggang at gmail.com>
Date:   Wed Jun  1 09:09:55 2022 +0800

d3d12: Convert #include <Windows.h> to #include <windows.h> for mingw on linux

Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Acked-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16084>

---

 src/gallium/drivers/d3d12/d3d12_format.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/d3d12/d3d12_format.h b/src/gallium/drivers/d3d12/d3d12_format.h
index 3f5054b4776..8d41d9271e3 100644
--- a/src/gallium/drivers/d3d12/d3d12_format.h
+++ b/src/gallium/drivers/d3d12/d3d12_format.h
@@ -26,7 +26,7 @@
 
 #include <directx/dxgiformat.h>
 #ifdef _WIN32
-#include <Windows.h>
+#include <windows.h>
 #else
 #include <wsl/winadapter.h>
 #endif



More information about the mesa-commit mailing list