apple: Rename _gl_context_modes_find_visual to glx_config_find_visual
authorJeremy Huddleston <jeremyhu@apple.com>
Sun, 5 Jun 2011 22:19:59 +0000 (18:19 -0400)
committerJeremy Huddleston <jeremyhu@apple.com>
Sun, 5 Jun 2011 22:19:59 +0000 (18:19 -0400)
Fixes regression introduced by: 6ddf66e9230ee862ac341c4767cf6b3b2dd2552b

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/glx/glxcmds.c

index 8b4151d0b4b78b81003c352b80ab85759aa71ecb..2011b1129968fb0948c710643ac45aead2196009 100644 (file)
@@ -602,7 +602,7 @@ glXCreateGLXPixmap(Display * dpy, XVisualInfo * vis, Pixmap pixmap)
    struct glx_screen *const psc = GetGLXScreenConfigs(dpy, screen);
    const struct glx_config *config;
 
-   config = _gl_context_modes_find_visual(psc->visuals, vis->visualid);
+   config = glx_config_find_visual(psc->visuals, vis->visualid);
    
    if(apple_glx_pixmap_create(dpy, vis->screen, pixmap, config))
       return None;