diff options
| author | Aditya Siram <aditya.siram@gmail.com> | 2023-08-12 14:47:23 -0500 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-08-12 23:18:09 +0200 |
| commit | 17d0a4cc5f88ebfc4d86b978aa5a93d0afd31d54 (patch) | |
| tree | fb3920642c8326425d96a2b71ec5cced88568e7e /src | |
| parent | 7cdbc189f0184d3fef3ed41c77238ab4859e558e (diff) | |
Fix access to Cairo context.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Cairo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Cairo.cxx b/src/Fl_Cairo.cxx index fb6b1d578..598c8747e 100644 --- a/src/Fl_Cairo.cxx +++ b/src/Fl_Cairo.cxx @@ -106,7 +106,7 @@ cairo_t *Fl::cairo_make_current(Fl_Window *wi) { struct wld_window *xid = fl_wl_xid(wi); if (!xid->buffer) return NULL; // this may happen with GL windows - cairo_ctxt = xid->buffer->cairo_; + cairo_ctxt = xid->buffer->draw_buffer.cairo_; cairo_state_.cc(cairo_ctxt, false); return cairo_ctxt; } |
