[Mesa-dev] [PATCH 2/3] st/glx/xlib: call register_with_display() in Fake_glXChooseFBConfig()
Brian Paul
brian.e.paul at gmail.com
Tue Jan 10 18:46:39 PST 2012
From: Brian Paul <brianp at vmware.com>
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.
---
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 b68882b..d034fb5 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);
--
1.7.1
More information about the mesa-dev
mailing list