mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-05 21:38:09 +03:00
Fix non-square pixels for Gakuen Senki
This was a regression by commit bf97425.
This commit is contained in:
+1
-1
@@ -423,7 +423,7 @@ void AGS::update_screen()
|
||||
|
||||
SDL_RenderClear(g_renderer);
|
||||
SDL_Rect src = {0, 0, screen_width, screen_height};
|
||||
SDL_Rect dest = {0, 0, screen_width, screen_height};
|
||||
SDL_Rect dest = {0, 0, window_width, screen_height};
|
||||
if (scroll > 0) {
|
||||
src.y = scroll;
|
||||
src.h = dest.h = screen_height - scroll;
|
||||
|
||||
Reference in New Issue
Block a user