Merge pull request #12523 from RandomShaper/fix-margins-drawn-too-late
Fix viewport margins drawn after swapping buffers
This commit is contained in:
commit
fd07a283e5
1 changed files with 1 additions and 2 deletions
|
@ -102,6 +102,7 @@ void VisualServerRaster::draw() {
|
||||||
|
|
||||||
VSG::viewport->draw_viewports();
|
VSG::viewport->draw_viewports();
|
||||||
VSG::scene->render_probes();
|
VSG::scene->render_probes();
|
||||||
|
_draw_margins();
|
||||||
VSG::rasterizer->end_frame();
|
VSG::rasterizer->end_frame();
|
||||||
|
|
||||||
while (frame_drawn_callbacks.front()) {
|
while (frame_drawn_callbacks.front()) {
|
||||||
|
@ -119,8 +120,6 @@ void VisualServerRaster::draw() {
|
||||||
|
|
||||||
frame_drawn_callbacks.pop_front();
|
frame_drawn_callbacks.pop_front();
|
||||||
}
|
}
|
||||||
|
|
||||||
_draw_margins();
|
|
||||||
}
|
}
|
||||||
void VisualServerRaster::sync() {
|
void VisualServerRaster::sync() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue