Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 4dfc355

Browse files
committed
Speed up PNG saving (Causeless)
1 parent 80468eb commit 4dfc355

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Managers/FrameMan.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ namespace RTE {
108108
m_ScreenDumpNamePlaceholder = std::unique_ptr<BITMAP, BitmapDeleter>(create_bitmap_ex(24, 1, 1));
109109
clear_bitmap(m_ScreenDumpNamePlaceholder.get());
110110

111+
// Use fastest compression in save_png().
112+
_png_compression_level = 1;
113+
111114
return 0;
112115
}
113116

0 commit comments

Comments
 (0)