From cfe5cfdac3ee86437aec2e6f0be47d6b60ba28b1 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 17 Mar 2010 20:47:47 +0000 Subject: Added trick to force loading of Fl_Gl_Device_Plugin whenever fltk_gl is loaded. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Gl_Window.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Fl_Gl_Window.cxx') diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index b5b052075..805e8271d 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -28,6 +28,10 @@ #include "flstring.h" #if HAVE_GL +extern int fl_gl_load_plugin; + +static int temp = fl_gl_load_plugin; + #include #include #include "Fl_Gl_Choice.H" -- cgit v1.2.3