From 360c7e3cad8ed01d31b73a9398b7453eaf3ea1aa Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 4 Dec 2015 19:53:29 +0000 Subject: [PATCH] fix for osx --- Fltk/drawContextFltk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fltk/drawContextFltk.h b/Fltk/drawContextFltk.h index dab25d084f..f84f47bb3e 100644 --- a/Fltk/drawContextFltk.h +++ b/Fltk/drawContextFltk.h @@ -148,7 +148,7 @@ class drawContextFltk : public drawContextGlobal{ void resetFontTextures() { #if defined(__APPLE__) - gl_texture_pile_height(1); // force font texture recomputation + gl_texture_pile_height(gl_texture_pile_height()); // force font texture recomputation #endif } std::string getName(){ return "Fltk"; } -- GitLab