Fix viewport margins drawn after swapping buffers
This commit is contained in:
parent
50306041e5
commit
793da07a4d
1 changed files with 1 additions and 2 deletions
|
@ -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() {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue