Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
eliminate cursor turds.
  • Loading branch information
miniksa committed Jun 15, 2020
commit 2f44fb97dc41c388591132174bc90915d148f827
4 changes: 4 additions & 0 deletions src/renderer/dx/DxRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ CATCH_RETURN()
try
{
_sizeTarget = Pixels;

_invalidMap.resize(_sizeTarget / _glyphCell, true);
return S_OK;
}
Expand Down Expand Up @@ -1345,6 +1346,9 @@ try
RETURN_IF_FAILED(_customLayout->Reset());
RETURN_IF_FAILED(_customLayout->AppendClusters(clusters));

// Copy cursor info into drawing context
Comment thread
miniksa marked this conversation as resolved.
Outdated
_drawingContext->cursorInfo = _frameInfo.cursorInfo;

// Layout then render the text
RETURN_IF_FAILED(_customLayout->Draw(_drawingContext.get(), _customRenderer.Get(), origin.x, origin.y));

Expand Down