aboutsummaryrefslogtreecommitdiff
path: root/generic/tkZinc.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkZinc.h')
-rw-r--r--generic/tkZinc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/tkZinc.h b/generic/tkZinc.h
index 2eb105b..bea3576 100644
--- a/generic/tkZinc.h
+++ b/generic/tkZinc.h
@@ -24,7 +24,11 @@
#include "List.h"
#include "MapInfo.h"
-#include <GL/glu.h>
+#if defined(MAC_OSX_TK)
+ #include <AGL/glu.h>
+#else
+ #include <GL/glu.h>
+#endif
typedef struct _ZnTagSearch {
ZnWInfo *wi;
@@ -84,6 +88,10 @@ typedef struct _ZnGLContextEntry {
int ipixel;
HWND hwnd; /* Temporary storage between MakeCurrent and Release */
HDC hdc;
+#elif defined(__APPLE__)
+ AGLPixelFormat pix_fmt;
+ GWorldPtr gworld;
+ Tk_Window top_win;
#else
XVisualInfo *visual; /* Should these two be managed by screen ? */
Colormap colormap;