Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Mar 29, 2024
1 parent d52fea1 commit bafcb9c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions mrv2/lib/mrvGL/mrvGLViewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,12 @@ namespace mrv
}
_drawRectangleOutline(selection, color, mvp);
}

if (p.showAnnotations && gl.annotation)
{
_drawAnnotations(mvp);
}


if (p.dataWindow)
_drawDataWindow();
if (p.displayWindow)
Expand Down Expand Up @@ -587,14 +586,14 @@ namespace mrv
}

#ifdef USE_OPENGL2
Fl_Gl_Window::draw_begin(); // Set up 1:1 projectionç
Fl_Window::draw(); // Draw FLTK children
Fl_Gl_Window::draw_begin(); // Set up 1:1 projection
Fl_Window::draw(); // Draw FLTK children
glViewport(0, 0, viewportSize.w, viewportSize.h);
if (p.showAnnotations)
_drawGL2TextShapes();
Fl_Gl_Window::draw_end(); // Restore GL state
#else
# ifndef NO_GL_WINDOW_CHILDREN
# ifndef NO_GL_WINDOW_CHILDREN
Fl_Gl_Window::draw();
# endif
#endif
Expand Down

0 comments on commit bafcb9c

Please sign in to comment.