diff options
author | Brian Paul <[email protected]> | 2012-01-10 19:39:04 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-11 12:43:45 -0700 |
commit | 7f6de60c585c6ac99d8e6b1280a8d7ce82f3c5e2 (patch) | |
tree | 3dbfb04b8fe9789e55ada6a8b849f38028d99dfc /src | |
parent | ecbdb173bbe3e37b4cbc6b08a5ba5a70236a0d1d (diff) |
st/glx/xlib: call register_with_display() in glXChooseFBConfig()
This is the same fix as the previous commit, except it's for the gallium
glx/xlib state tracker.
NOTE: This is a candidate for the 7.11 branch.
Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/glx_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index b68882b1f97..d034fb5bb35 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/state_trackers/glx/xlib/glx_api.c @@ -1788,6 +1788,9 @@ glXChooseFBConfig(Display *dpy, int screen, { XMesaVisual xmvis; + /* register ourselves as an extension on this display */ + register_with_display(dpy); + if (!attribList || !attribList[0]) { /* return list of all configs (per GLX_SGIX_fbconfig spec) */ return glXGetFBConfigs(dpy, screen, nitems); |