From a5b53365cbfdb7a265d2dae16338be18b8af7435 Mon Sep 17 00:00:00 2001 From: "edward.vigmond" <edward.vigmond@u-bordeaux.fr> Date: Wed, 18 Nov 2020 13:54:58 +0100 Subject: [PATCH] Apple compilation issue --- src/TBmeshWin.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/TBmeshWin.h b/src/TBmeshWin.h index 17f0a37..d49cd2f 100644 --- a/src/TBmeshWin.h +++ b/src/TBmeshWin.h @@ -167,7 +167,11 @@ class TBmeshWin:public Fl_Gl_Tb_Window inline void redraw( unsigned int s ){ sully(s); redraw(); } void illuminate(bool on=true); // light the model void draw_all_pts( bool a ){ _draw_all_vert=a; redraw(VBO_Pt); } - void set_context( void *c ) { context(c); } + void set_context( void *c ) { +#ifndef __APPLE__ + context(c); +#endif + } friend class Controls; friend class HDF5DataBrowser; friend class Frame; -- GitLab