Function Fl_Screen_Driver::traverse_to_gl_subwindows() is static in its class

This commit is contained in:
ManoloFLTK 2019-04-10 10:22:45 +02:00
parent 8286e37b18
commit 22a5dc3085

View File

@ -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) {