Mesa (main): d3d12: `#include <windows.h>` instead `#include <Windows.h>` for building under linux with mingw

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 3 17:14:15 UTC 2022


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

Author: Yonggang Luo <luoyonggang at gmail.com>
Date:   Mon May  2 14:51:21 2022 +0800

d3d12: `#include <windows.h>` instead `#include <Windows.h>` for building under linux with mingw

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

---

 src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp b/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp
index 717af584633..8dd65dcc7bb 100644
--- a/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp
+++ b/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp
@@ -23,7 +23,7 @@
 
 #include "d3d12_wgl_public.h"
 
-#include <Windows.h>
+#include <windows.h>
 #include <dxgi1_4.h>
 #include <directx/d3d12.h>
 #include <wrl.h>



More information about the mesa-commit mailing list