From dcc82d8926e447e422f200d01e1aa990233bc16a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 7 Feb 2018 15:34:44 +0000 Subject: STR#3450: Draw text with OpenGL using textures on all platforms. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12650 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 27aa4ced5..9687fd1ec 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -495,6 +495,10 @@ void* Fl_Gl_Window_Driver::GetProcAddress(const char *procName) { #endif // HAVE_DLSYM } +Fl_Font_Descriptor** Fl_Gl_Window_Driver::fontnum_to_fontdescriptor(int fnum) { + extern FL_EXPORT Fl_Fontdesc *fl_fonts; + return &(fl_fonts[fnum].first); +} #ifdef FL_CFG_GFX_QUARTZ #include -- cgit v1.2.3