fix: windows64 only falling back to 720 & update 4JLibs

This commit is contained in:
2026-08-25 21:52:46 -04:00
parent 344fd63488
commit 78f192ed76
5 changed files with 35 additions and 7 deletions
@@ -323,7 +323,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
// Tick UI
ui.tick();
ui.render();
RenderManager.Present(g_iScreenWidth, g_iScreenWidth);
RenderManager.Present();
ui.CheckMenuDisplayed();
// Tick Managers
@@ -753,6 +753,9 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
}
RenderManager.Initialise(g_pd3dDevice, g_pSwapChain);
//str1k3r - set the resolution that we have at time of launch
RenderManager.setResolution(g_iScreenWidth, g_iScreenHeight);
app.loadStringTable();
ui.init(g_pd3dDevice,g_pImmediateContext,g_pRenderTargetView,g_pDepthStencilView,g_iScreenWidth,g_iScreenHeight);
@@ -878,8 +881,11 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
ui.tick();
ui.render();
//str1k3r - now set the resolution a FUCK ton of times to tell 4J to fuck off with their hardcoded shit
RenderManager.setResolution(g_iScreenWidth, g_iScreenHeight);
// Present the frame.
RenderManager.Present(g_iScreenWidth, g_iScreenWidth);
RenderManager.Present();
ui.CheckMenuDisplayed();