diff --git a/game/graphics/pipelines/opengl.cpp b/game/graphics/pipelines/opengl.cpp index 6ad240141e..8cd0be658c 100644 --- a/game/graphics/pipelines/opengl.cpp +++ b/game/graphics/pipelines/opengl.cpp @@ -517,9 +517,8 @@ void GLDisplay::render() { // render game! if (g_gfx_data->debug_gui.should_advance_frame()) { auto p = scoped_prof("game-render"); - render_game_frame(windowed() ? win_w : Gfx::g_global_settings.game_res_w, - windowed() ? win_h : Gfx::g_global_settings.game_res_h, win_w, win_h, lbox_w, - lbox_h, Gfx::g_global_settings.msaa_samples); + render_game_frame(Gfx::g_global_settings.game_res_w, Gfx::g_global_settings.game_res_h, win_w, + win_h, lbox_w, lbox_h, Gfx::g_global_settings.msaa_samples); } if (g_gfx_data->debug_gui.should_gl_finish()) { diff --git a/goal_src/jak1/pc/pckernel.gc b/goal_src/jak1/pc/pckernel.gc index c14ab0021a..0be76f9295 100644 --- a/goal_src/jak1/pc/pckernel.gc +++ b/goal_src/jak1/pc/pckernel.gc @@ -205,7 +205,7 @@ ) ;; do game resolution (if (= (-> obj display-mode) 'windowed) - (pc-set-game-resolution (-> obj win-width) (-> obj win-height)) + (pc-set-game-resolution (-> obj real-width) (-> obj real-height)) (pc-set-game-resolution (-> obj width) (-> obj height))) ;; set msaa sample rate. if invalid, just reset to 4.