Fix for issue #410
This commit is contained in:
parent
2d833a54fd
commit
7f5ce4d7a9
@ -89,6 +89,8 @@ public:
|
||||
static void cairo_init(struct fl_wld_buffer *buffer, int width, int height, int stride, cairo_format_t format);
|
||||
void set_spot(int font, int height, int x, int y, int w, int h, Fl_Window *win);
|
||||
void reset_spot();
|
||||
virtual void *gc();
|
||||
virtual void gc(void *gc);
|
||||
};
|
||||
|
||||
#endif // FL_WAYLAND_GRAPHICS_DRIVER_H
|
||||
|
@ -266,3 +266,12 @@ void Fl_Wayland_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_O
|
||||
cairo_surface_destroy(surf);
|
||||
cairo_restore(cairo_);
|
||||
}
|
||||
|
||||
|
||||
void Fl_Wayland_Graphics_Driver::gc(void *off) {} // equivalent is done by activate()
|
||||
|
||||
|
||||
void *Fl_Wayland_Graphics_Driver::gc() {
|
||||
return buffer_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user