diff options
Diffstat (limited to 'src/Fl_Window_Driver.cxx')
| -rw-r--r-- | src/Fl_Window_Driver.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx index 13a90f8f0..0399f7fff 100644 --- a/src/Fl_Window_Driver.cxx +++ b/src/Fl_Window_Driver.cxx @@ -104,9 +104,8 @@ void Fl_Window_Driver::draw_end() void Fl_Window_Driver::destroy_double_buffer() { - Fl_X *i = Fl_X::i(pWindow); - fl_delete_offscreen(i->other_xid); - i->other_xid = 0; + fl_delete_offscreen(other_xid); + other_xid = 0; } |
