summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ab55ce)
raw | patch | inline | side by side (parent: 8ab55ce)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 2 May 2022 12:01:00 +0000 (15:01 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 2 May 2022 12:01:00 +0000 (15:01 +0300) |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index e16a3661a00c169e0fac650d0554e3ae72be4c73..4ac5ec7ef8fd542e1b04f406e3637ad097fb5cb3 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
name := e_CatPath(dir, Filename + '.png');
s := createDiskFile(name);
try
- e_MakeScreenshot(s, gScreenWidth, gScreenHeight);
+ e_MakeScreenshot(s, gWinSizeX, gWinSizeY);
s.Free;
g_Console_Add(Format(_lc[I_CONSOLE_SCREENSHOT], [name]))
except