Mesa (7.10): apple: Rename _gl_context_modes_find_visual to glx_config_find_visual

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Mon Jun 6 16:13:27 UTC 2011


Module: Mesa
Branch: 7.10
Commit: d92931467da389433ca77cdb040a72a6962f9ba4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d92931467da389433ca77cdb040a72a6962f9ba4

Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Sun Jun  5 18:19:59 2011 -0400

apple: Rename _gl_context_modes_find_visual to glx_config_find_visual

Fixes regression introduced by: 6ddf66e9230ee862ac341c4767cf6b3b2dd2552b

Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
(cherry picked from commit b7f0ed8444544b7fc927823a903db93ebf723cad)

---

 src/glx/glxcmds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index d9ca3f5..f26ba1d 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -606,7 +606,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;




More information about the mesa-commit mailing list