From 68da61e74cad43b912bd042a2d8bc93882b8f9ef Mon Sep 17 00:00:00 2001 From: bitsawer Date: Wed, 17 May 2023 19:35:18 +0300 Subject: [PATCH] Fix for Clang dev_mode Windows build --- platform/windows/display_server_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index ff32a318a2d..6735f2b6631 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -667,7 +667,7 @@ Ref DisplayServerWindows::screen_get_image(int p_screen) const { SelectObject(hdc, hbm); BitBlt(hdc, 0, 0, width, height, dc, p1.x, p1.y, SRCCOPY); - BITMAPINFO bmp_info = { 0 }; + BITMAPINFO bmp_info = {}; bmp_info.bmiHeader.biSize = sizeof(bmp_info.bmiHeader); bmp_info.bmiHeader.biWidth = width; bmp_info.bmiHeader.biHeight = -height;