Skip to content

Commit

Permalink
X11 fix. We had lost half the performance. Ouch!
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed May 13, 2024
1 parent 366ff58 commit 6b700ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mrv2/lib/mrvGL/mrvTimelineWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ namespace mrv
{
if (desktop::X11())
{
fl_double = FL_DOUBLE;
// For faster playback, we won't set this window to FL_DOUBLE.
// FLTK's X11 already uses two buffers.
fl_double = 0;
}
}
#endif
Expand Down

0 comments on commit 6b700ce

Please sign in to comment.