diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-10-30 19:47:02 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 19:47:02 -0300 |
commit | fd07a283e58bb214c974979ff094d2b8b7c00bac (patch) | |
tree | 50c26f7c1b3b9603182f819799e28cd6fdc13f88 /servers | |
parent | 4785e66eeab237d9390471d1ca2631e2f187d89b (diff) | |
parent | 793da07a4dc6be1437fba4cefec9dc0c8035be64 (diff) |
Merge pull request #12523 from RandomShaper/fix-margins-drawn-too-late
Fix viewport margins drawn after swapping buffers
Diffstat (limited to 'servers')
-rw-r--r-- | servers/visual/visual_server_raster.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/servers/visual/visual_server_raster.cpp b/servers/visual/visual_server_raster.cpp index c644fd2d55..69e2d1c162 100644 --- a/servers/visual/visual_server_raster.cpp +++ b/servers/visual/visual_server_raster.cpp @@ -102,6 +102,7 @@ void VisualServerRaster::draw() { VSG::viewport->draw_viewports(); VSG::scene->render_probes(); + _draw_margins(); VSG::rasterizer->end_frame(); while (frame_drawn_callbacks.front()) { @@ -119,8 +120,6 @@ void VisualServerRaster::draw() { frame_drawn_callbacks.pop_front(); } - - _draw_margins(); } void VisualServerRaster::sync() { } |