1 #ifndef GLXINIT_INCLUDED 2 #define GLXINIT_INCLUDED 3 4 #include <X11/Xlib.h> 5 #include <GL/gl.h> 6 7 typedef struct { 8 __GLcontextModes *configs; 9 char *serverGLXexts; 10 } __GLXscreenConfigs; 11 12 typedef struct { 13 Display *dpy; 14 __GLXscreenConfigs **screenConfigs; 15 char *serverGLXversion; 16 int majorOpcode; 17 struct x11_screen *xscr; 18 } __GLXdisplayPrivate; 19 20 extern __GLXdisplayPrivate *__glXInitialize(Display * dpy); 21 22 #endif /* GLXINIT_INCLUDED */ 23