Merge pull request #12523 from RandomShaper/fix-margins-drawn-too-late

Fix viewport margins drawn after swapping buffers
This commit is contained in:
Juan Linietsky 2017-10-30 19:47:02 -03:00 committed by GitHub
commit fd07a283e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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() {
}