Skip to content

Commit

Permalink
Fix incorrect clipping due to stale viewport dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
s1sw committed Oct 3, 2024
1 parent a903d8f commit c3058b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ bool Context::Render()
RMLUI_ZoneScoped;

render_manager->PrepareRender();
render_manager->SetViewport(dimensions);

root->Render();

Expand Down

0 comments on commit c3058b6

Please sign in to comment.