summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkuigl.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-27 21:48:58 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-27 21:48:58 +0100
commitaa9de77ed52bd8d7d70eba8533952121b836be9b (patch)
tree9cebb59b83fc1e515e77f373aac354693c2b1353 /plugins/gtkui/gtkuigl.h
parentb5361dd3302d5368623d3acd49c0378bffee938e (diff)
gtkui: fixed gtkglext dependency
Diffstat (limited to 'plugins/gtkui/gtkuigl.h')
-rw-r--r--plugins/gtkui/gtkuigl.h6
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>