Fixed some compile warnings with Clang on Windows (#3754)

This commit is contained in:
Sammy Fatnassi
2021-01-26 14:09:18 +01:00
committed by ocornut
parent bb26751b94
commit 376c88a864
3 changed files with 5 additions and 2 deletions

View File

@ -272,7 +272,7 @@ static void ImGui_ImplWin32_UpdateGamepads()
static BOOL CALLBACK ImGui_ImplWin32_UpdateMonitors_EnumFunc(HMONITOR monitor, HDC, LPRECT, LPARAM)
{
MONITORINFO info = { 0 };
MONITORINFO info = {};
info.cbSize = sizeof(MONITORINFO);
if (!::GetMonitorInfo(monitor, &info))
return TRUE;