From 22a5dc3085836f17c0e895040b7dac4a7a0919c5 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 10 Apr 2019 10:22:45 +0200 Subject: [PATCH] Function Fl_Screen_Driver::traverse_to_gl_subwindows() is static in its class --- src/fl_read_image.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fl_read_image.cxx b/src/fl_read_image.cxx index 3498b03b6..8ce43871b 100644 --- a/src/fl_read_image.cxx +++ b/src/fl_read_image.cxx @@ -49,7 +49,7 @@ uchar *fl_read_image(uchar *p, int X, int Y, int w, int h, int alpha) { } img->alloc_array = 1; } else { - img = Fl::screen_driver()->traverse_to_gl_subwindows(Fl_Window::current(), X, Y, w, h, NULL); + img = Fl_Screen_Driver::traverse_to_gl_subwindows(Fl_Window::current(), X, Y, w, h, NULL); } int depth = alpha ? 4 : 3; if (img->d() != depth) {