Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/spelling/expect/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ codepages
codepath
coinit
colorizing
COLORONCOLOR
COLORREFs
colorschemes
colorspec
Expand Down
3 changes: 3 additions & 0 deletions src/renderer/gdi/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ GdiEngine::~GdiEngine()
// We need the advanced graphics mode in order to set a transform.
SetGraphicsMode(hdcNewMemoryContext, GM_ADVANCED);

// We set the bitmap stretching mode to improve the Sixel image quality.
SetStretchBltMode(hdcNewMemoryContext, COLORONCOLOR);

// If we had an existing memory context stored, release it before proceeding.
if (nullptr != _hdcMemoryContext)
{
Expand Down
Loading