diff options
author | 2013-10-27 21:48:58 +0100 | |
---|---|---|
committer | 2013-10-27 21:48:58 +0100 | |
commit | aa9de77ed52bd8d7d70eba8533952121b836be9b (patch) | |
tree | 9cebb59b83fc1e515e77f373aac354693c2b1353 /plugins/gtkui/gtkuigl.h | |
parent | b5361dd3302d5368623d3acd49c0378bffee938e (diff) |
gtkui: fixed gtkglext dependency
Diffstat (limited to 'plugins/gtkui/gtkuigl.h')
-rw-r--r-- | plugins/gtkui/gtkuigl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkuigl.h b/plugins/gtkui/gtkuigl.h index c2a0d0a9..2bab1836 100644 --- a/plugins/gtkui/gtkuigl.h +++ b/plugins/gtkui/gtkuigl.h @@ -19,7 +19,11 @@ #ifndef __GTKUIGL_H #define __GTKUIGL_H -#ifndef __APPLE__ +#ifdef __APPLE__ +#undef USE_OPENGL +#endif + +#ifdef USE_OPENGL #include <gtk/gtkgl.h> #include <GL/gl.h> #include <GL/glu.h> |