diff --git a/port/fast3d/gfx_pc.cpp b/port/fast3d/gfx_pc.cpp index 85a2b038d..dfc89527f 100644 --- a/port/fast3d/gfx_pc.cpp +++ b/port/fast3d/gfx_pc.cpp @@ -2540,8 +2540,8 @@ extern "C" void gfx_init(struct GfxWindowManagerAPI* wapi, struct GfxRenderingAP gfx_rapi->update_framebuffer_parameters(0, width, height, 1, false, true, true, true); gfx_current_dimensions.internal_mul = 1; gfx_msaa_level = 1; - gfx_current_dimensions.width = width; - gfx_current_dimensions.height = height; + gfx_current_game_window_viewport.width = gfx_current_dimensions.width = width; + gfx_current_game_window_viewport.height = gfx_current_dimensions.height = height; game_framebuffer = gfx_rapi->create_framebuffer(); game_framebuffer_msaa_resolved = gfx_rapi->create_framebuffer(); diff --git a/port/src/video.c b/port/src/video.c index 786e10c36..195e98772 100644 --- a/port/src/video.c +++ b/port/src/video.c @@ -25,8 +25,6 @@ s32 videoInit(void) renderingAPI = &gfx_opengl_api; gfx_current_native_viewport.width = 320; gfx_current_native_viewport.height = 240; - gfx_current_game_window_viewport.width = 640; - gfx_current_game_window_viewport.height = 480; gfx_init(wmAPI, renderingAPI, "PD", false, 640, 480, 100, 100); initDone = true; return 0;