From a959c53b7ac91e489bf0959391e892790b9ff248 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 15 Jun 2009 22:57:38 +0000 Subject: Copied JOGL_2_SANDBOX r1957 on to trunk; JOGL_2_SANDBOX branch is now closed git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1959 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/stub_includes/x11/X11/X.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 make/stub_includes/x11/X11/X.h (limited to 'make/stub_includes/x11/X11/X.h') diff --git a/make/stub_includes/x11/X11/X.h b/make/stub_includes/x11/X11/X.h new file mode 100644 index 000000000..239836ee4 --- /dev/null +++ b/make/stub_includes/x11/X11/X.h @@ -0,0 +1,35 @@ +#ifndef _X_H_ +#define _X_H_ + +typedef struct {} * XID; +typedef int Bool; +typedef struct {} Display; +typedef int Status; +typedef struct {} Visual; +typedef unsigned long VisualID; +typedef XID Colormap; +typedef XID Cursor; +typedef XID Drawable; +typedef XID Font; +typedef XID GContext; +typedef XID KeySym; +typedef XID Pixmap; +typedef XID Window; + +typedef struct __GLXcontextRec *GLXContext; +//typedef void *GLXContext; +typedef XID GLXPixmap; +typedef XID GLXDrawable; +/* GLX 1.3 and later */ +typedef struct __GLXFBConfigRec *GLXFBConfig; +//typedef void *GLXFBConfig; +typedef XID GLXFBConfigID; +typedef XID GLXContextID; +typedef XID GLXWindow; +typedef XID GLXPbuffer; + +// Hacks for glXGetProcAddress +typedef void (*__GLXextFuncPtr)(void); +typedef unsigned char GLubyte; /* 1-byte unsigned */ + +#endif /* defined _X_H_ */ -- cgit v1.2.3