From 46caf4727c8a9acc44e3899d5c10e6e53ccc1b39 Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Thu, 13 Aug 2026 19:09:39 -0400 Subject: [PATCH] fix: g_bResolutionSetByCMD causing windows64 to not compile sometimes --- Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 2 ++ Minecraft.Client/Windows64/Windows64_Minecraft.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 4ec1d043..e952391b 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -76,6 +76,8 @@ DWORD dwProfileSettingsA[NUM_PROFILE_VALUES]= //------------------------------------------------------------------------------------- BOOL g_bWidescreen = TRUE; +BOOL g_bResolutionSetByCMD = FALSE; + int g_iScreenWidth = 1920; int g_iScreenHeight = 1080; diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.h b/Minecraft.Client/Windows64/Windows64_Minecraft.h index 186756bb..673d8261 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.h +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.h @@ -7,7 +7,7 @@ extern BOOL g_bWidescreen; extern int g_iScreenWidth; extern int g_iScreenHeight; -BOOL g_bResolutionSetByCMD = FALSE; +extern BOOL g_bResolutionSetByCMD; extern ID3D11Device* g_pd3dDevice;