Function Fl_Screen_Driver::traverse_to_gl_subwindows() is static in its class
This commit is contained in:
parent
8286e37b18
commit
22a5dc3085
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user