Commit 62314aa4 authored by Christophe Geuzaine's avatar Christophe Geuzaine

gl_texture_pile_height only available on linux/windows in fltk 1.4

parent cc526a7a
Pipeline #2977 passed with stage
in 57 minutes and 3 seconds
......@@ -147,8 +147,10 @@ public:
void drawString(const char *str) { gl_draw(str); }
void resetFontTextures()
{
#if ((FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION >= 4)) || defined(__APPLE__)
// force font texture recomputation
gl_texture_pile_height(gl_texture_pile_height());
#endif
}
std::string getName() { return "Fltk"; }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment