diff options
| author | Matthias Melcher <git@matthiasm.com> | 2019-02-02 17:47:55 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2019-02-02 17:47:55 +0100 |
| commit | 452a410a3ea02f58930c4b3cc5a04bbb6b3e7070 (patch) | |
| tree | d243cf51c8b20541b46ba051d646c91b5aad1825 /src/Fl_Screen_Driver.cxx | |
| parent | 76668c7cc11c80f337bd7d04d6adead49c8a636f (diff) | |
STR #2714: remove new shadow lint for MacOS
Diffstat (limited to 'src/Fl_Screen_Driver.cxx')
| -rw-r--r-- | src/Fl_Screen_Driver.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx index 1d812a047..2d70187ca 100644 --- a/src/Fl_Screen_Driver.cxx +++ b/src/Fl_Screen_Driver.cxx @@ -192,9 +192,9 @@ Fl_RGB_Image *Fl_Screen_Driver::traverse_to_gl_subwindows(Fl_Group *g, int x, in Fl_RGB_Image *full_img) { if ( g->as_gl_window() ) { - Fl_Device_Plugin *pi = Fl_Device_Plugin::opengl_plugin(); - if (!pi) return full_img; - full_img = pi->rectangle_capture(g, x, y, w, h); + Fl_Device_Plugin *plugin = Fl_Device_Plugin::opengl_plugin(); + if (!plugin) return full_img; + full_img = plugin->rectangle_capture(g, x, y, w, h); } else if ( g->as_window() ) { if (Fl_Window::current() != g) g->as_window()->make_current(); |
