diff options
| -rw-r--r-- | documentation/src/wayland.dox | 2 | ||||
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index a4bc5e4ea..b4c9d018b 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -708,7 +708,7 @@ in function \c Fl_Wayland_Window_Driver::make_current() with \code // to support progressive drawing if ( (!Fl_Wayland_Window_Driver::in_flush_) && window->buffer && (!window->frame_cb) - && window->buffer->draw_buffer_needs_commit && (!wait_for_expose_value) ) { + && (!wait_for_expose_value) ) { Fl_Wayland_Graphics_Driver::buffer_commit(window); } \endcode diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 6e3deeaa0..a2f481fb1 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -355,8 +355,8 @@ void Fl_Wayland_Window_Driver::make_current() { } // to support progressive drawing - if ( (!Fl_Wayland_Window_Driver::in_flush_) && window->buffer && (!window->frame_cb) - && window->buffer->draw_buffer_needs_commit && (!wait_for_expose_value) ) { + if ( (!Fl_Wayland_Window_Driver::in_flush_) && window->buffer && (!window->frame_cb) && + (!wait_for_expose_value) ) { Fl_Wayland_Graphics_Driver::buffer_commit(window); } |
