From 1885cf27c9c4642a049c60a8236cb84735cb9eba Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 5 Jun 2011 18:50:55 -0400 Subject: apple: Build darwin using applegl rather than indirect This reverts portions of 6849916170c0275c13510251a7b217c20f2b993e that caused the darwin config to fail to build due to missing implementations in that commit. See https://bugs.freedesktop.org/show_bug.cgi?id=29162 Signed-off-by: Jeremy Huddleston --- src/glx/glxclient.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/glx/glxclient.h') diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index f9ab222d16e..9262f86f1f3 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -769,7 +769,19 @@ GarbageCollectDRIDrawables(struct glx_screen *psc); extern __GLXDRIdrawable * GetGLXDRIDrawable(Display *dpy, GLXDrawable drawable); +#endif + +#ifdef GLX_USE_APPLEGL +extern struct glx_screen * +applegl_create_screen(int screen, struct glx_display * priv); + +extern struct glx_context * +applegl_create_context(struct glx_screen *psc, + struct glx_config *mode, + struct glx_context *shareList, int renderType); +extern int +applegl_create_display(struct glx_display *display); #endif extern struct glx_context dummyContext; -- cgit v1.2.3