apple: Use _glapi_create_table_from_handle to initialize our dispatch table
[mesa.git] / src / glx / apple / apple_glx_pbuffer.c
index d79125d180fe0f4efb9aab5f5aca06ec8e7060a6..2817cda23b7b445af4f1979c23f5998607370115 100644 (file)
@@ -128,7 +128,7 @@ apple_glx_pbuffer_create(Display * dpy, GLXFBConfig config,
    Window root;
    int screen;
    Pixmap xid;
-   struct glx_config *modes = (__GLcontextModes *) config;
+   struct glx_config *modes = (struct glx_config *) config;
 
    root = DefaultRootWindow(dpy);
    screen = DefaultScreen(dpy);