diff --git a/src/TBmeshWin.h b/src/TBmeshWin.h index 17f0a37ebd50874c02e9204fdb619e84fedfa6d4..d49cd2f6777d605e268b7942e7467accba9dfb88 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;