summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-01-09 20:11:45 +0000
committerManolo Gouy <Manolo>2014-01-09 20:11:45 +0000
commit97448d6bcaf40be2a00c17b124308b949103ffc7 (patch)
tree089ec072f4791f9ce96a59af9b4877c2520b56f3
parente543d2c7635affb4e167659c2108b918752997aa (diff)
Restored the statement removed at r.9992 because it's required so Fl_Gl_Device_Plugin.o is loaded,
and so printing of GL windows works. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Gl_Window.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index 92b7672ed..93e650a7c 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -24,6 +24,8 @@ extern int fl_gl_load_plugin;
extern void gl_texture_reset();
#endif
+static int temp = fl_gl_load_plugin; // don't remove me! I force linking of Fl_Gl_Device_Plugin.o
+
#include <FL/Fl.H>
#include <FL/x.H>
#ifdef __APPLE__