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;