From 5674bcc012d4487c0dbece9f42fcd3a502c76f43 Mon Sep 17 00:00:00 2001 From: GabsPuNs Date: Wed, 15 Apr 2026 19:25:56 -0400 Subject: [PATCH] Update Windows64_Minecraft.cpp --- Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 3067d43a..c351f799 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -822,8 +822,7 @@ HRESULT InitDevice() }; UINT numFeatureLevels = ARRAYSIZE( featureLevels ); - DXGI_SWAP_CHAIN_DESC sd; - ZeroMemory( &sd, sizeof( sd ) ); + DXGI_SWAP_CHAIN_DESC sd = {}; sd.BufferCount = 1; sd.BufferDesc.Width = width; sd.BufferDesc.Height = height;