summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-10 10:22:45 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-10 10:22:45 +0200
commit22a5dc3085836f17c0e895040b7dac4a7a0919c5 (patch)
tree7b71ee4520ccd30e11357dc9fb4fa6e0783f288b /src
parent8286e37b18dcbf788cea188a9f1df5824baf0731 (diff)
Function Fl_Screen_Driver::traverse_to_gl_subwindows() is static in its class
Diffstat (limited to 'src')
-rw-r--r--src/fl_read_image.cxx2
1 files changed, 1 insertions, 1 deletions
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) {