Skip to content

Commit

Permalink
(fix): Fix blur flipping image on large kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
hyblocker committed Oct 4, 2024
1 parent 82dfb0f commit b839bff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Backends/RmlUi_Renderer_DX11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,8 @@ void RenderInterface_DX11::RenderBlur(float sigma, const Gfx::RenderTargetData&
const Rml::Vector2i target_max = src_max * (1 << pass_level);
if (target_min != dst_min || target_max != dst_max)
{
BlitRenderTarget(temp, source_destination, src_min.x, src_min.y, src_max.x, src_max.y, target_min.x, target_min.y, target_max.x, target_max.y);
BlitRenderTarget(temp, source_destination, src_min.x, src_max.y, src_max.x, src_min.y, target_min.x, target_min.y, target_max.x,
target_max.y);
}

// Restore render state.
Expand Down

0 comments on commit b839bff

Please sign in to comment.